Skip to content
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

Support array of array examples #1956

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ayca-aydogan
Copy link

Describe the PR
Add a nested array parser for an array of array examples. To achieve this, the example string is parsed into a tree and then the tree structure is converted to an array of arrays. "{" and "}" are chosen to specify the nested array beginning and end but this can easily be changed. An example of a nested array example is:{{one,two},{three,four}}. This implementation is backward compatible with arrays. The example could be "{one,two}" as well as "one,two"

Relation issue
#1041

Additional context
For an extensive fix, depth in ComplementSchema should be a variable instead of constant 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant