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
Tell me please if it's possible to achieve. I have two entities:
parentEntity: ... someBool: <boolean(50)> .... childEntity: ....
My goal is to generate from 1 to 3 childEntities only for those parentEntities who have true value for someBool field. I've tried this way:
parentEntity: ... someBool: <boolean(50)> children: '@self->someBool ? <numberBetween(1,3)>x @childEntity*' .... childEntity: ....
But got the following error: Invalid token "@self->someBool ? <numberBetween(1,3)>x @childEntity*" found.
Invalid token "@self->someBool ? <numberBetween(1,3)>x @childEntity*" found.
The text was updated successfully, but these errors were encountered:
I think the reasoning is good but it appears it is yet another limitation of the current lexer, see #998 for more information
Sorry, something went wrong.
No branches or pull requests
Tell me please if it's possible to achieve. I have two entities:
My goal is to generate from 1 to 3 childEntities only for those parentEntities who have true value for someBool field. I've tried this way:
But got the following error:
Invalid token "@self->someBool ? <numberBetween(1,3)>x @childEntity*" found.
The text was updated successfully, but these errors were encountered: