We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
When marked as optional:
(def compiled (contextual.http/compile-request '{:query-params {:timestamp ^:optional timestamp}, :method "get"} {'timestamp (contextual.core/path :ts)} {} {:serialize-query-params true})) (contextual.core/invoke compiled {:ts "2021-05-28 16:22:55.000+00 00"}) => {:method "get", :url "?timestamp=2021-05-28 16:22:55.000+00 00"}
When not marked as optional:
(def compiled (contextual.http/compile-request '{:query-params {:timestamp timestamp}, :method "get"} {'timestamp (contextual.core/path :ts)} {} {:serialize-query-params true})) (contextual.core/invoke compiled {:ts "2021-05-28 16:22:55.000+00 00"}) => {:method "get", :url "?timestamp=2021-05-28%2016%3A22%3A55.000%2B00%20%20%2000"}
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When marked as optional:
When not marked as optional:
The text was updated successfully, but these errors were encountered: