-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Extension info, not work with macros maybe
#367
Comments
maybe
attributemaybe
@ermolaev As a quick fix, I think you can copy the following class: and add the following method:
And instead of calling .info, use
I've also noticed an issue with the following definition:
This returns the field with type integer, and there is no indication that the definition is an array. You could also do a workaround by overriding the visit_predicate method and adding an array flag.
Also, keep in mind that EMPTY_HASH will not be available in your custom class namespace, you can replace it with {}. The full file should look something like this:
|
@Jane-Terziev looks good, and it works, you can create PR? |
I opened #471, looking for feedback |
Describe the bug
UserSchema.info
raised an error if schema has.maybe
To Reproduce
Expected behavior
A clear and concise description of what you expected to happen.
My environment
The text was updated successfully, but these errors were encountered: