-
Notifications
You must be signed in to change notification settings - Fork 203
New issue
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
no_recursion with HasMap not working #1166
Labels
bug
Something isn't working
Comments
Oh, that is a bug indeed, #[schema(no_recursion)]
Map(HashMap<String, Recursion>), The above should be possible. |
juhaku
added a commit
that referenced
this issue
Oct 27, 2024
This commit fixes `no_recursion` attribute on map types like `HashMap<K, T>`. Fixes #1166
juhaku
added a commit
that referenced
this issue
Oct 27, 2024
This commit fixes `no_recursion` attribute on map types like `HashMap<K, T>`. Fixes #1166
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi.
Next code fails with stack overflow
Without the Map(HashMap<String, Recursion>) line work.
And if you add it, the macro gives the following error
NoRecursion does not support `ToTokens`
Thanks
The text was updated successfully, but these errors were encountered: