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
I'd like to ensure my Interator fills in an Array with a size based on an attribute from the context:
context
promises do required(:users).filled(min_size?: context.user_ids.size) end
But that's not possible since the context is now accessible:
NameError (undefined local variable or method `context' for #<Dry::Schema::DSL:0x0000557f84f3c6a0>):
Would it make sens to add it or am I trying to use this gem in a wrong way?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'd like to ensure my Interator fills in an Array with a size based on an attribute from the
context
:But that's not possible since the
context
is now accessible:Would it make sens to add it or am I trying to use this gem in a wrong way?
The text was updated successfully, but these errors were encountered: