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? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In 0.6.0, nested map data is merged in a way that matches meta-merge, supporting ^:replace:
^:replace
user> (meta-merge {:roles {:foo false :bar true}} {:roles ^:replace {:foo true}}) {:roles {:foo true}} user> (r/routes (r/router ["/context" {:roles {:foo false :bar true}} ["/leaf" {:roles ^:replace {:foo true}}]])) [["/context/leaf" {:roles {:foo true}}]]
In 0.7.0, this is no longer the case, ^:replace is not respected:
user> (r/routes (r/router ["/context" {:roles {:foo false :bar true}} ["/leaf" {:roles ^:replace {:foo true}}]])) [["/context/leaf" {:roles {:foo true, :bar true}}]]
This is not documented in the changelog so I assume it's not intentional.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In 0.6.0, nested map data is merged in a way that matches meta-merge, supporting
^:replace
:In 0.7.0, this is no longer the case,
^:replace
is not respected:This is not documented in the changelog so I assume it's not intentional.
The text was updated successfully, but these errors were encountered: