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

Problem with inferring objects #3

Open
kaadash opened this issue Jul 29, 2024 · 0 comments
Open

Problem with inferring objects #3

kaadash opened this issue Jul 29, 2024 · 0 comments

Comments

@kaadash
Copy link

kaadash commented Jul 29, 2024

Definition of problem
Builder support 2 inputs which supports subFields. They are list and objects. List is array of objects but object is just object with properties defined in subFields. Current solution supports just list which causes error while using object type. By error I mean wrongly inferred type. For objects type is inferred as array of objects.

Solution
Differentiate list and object types. My proposal changes are available here: #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

No branches or pull requests

1 participant