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 $ref along with definitions #9

Open
ostrowr opened this issue Nov 3, 2019 · 1 comment
Open

Support $ref along with definitions #9

ostrowr opened this issue Nov 3, 2019 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@ostrowr
Copy link
Owner

ostrowr commented Nov 3, 2019

Right now, schemas that use $ref get an unknown type.

Dealing with JSON Pointer through the type system seems like it will be a nightmare.

Maybe it's possible to enforce that the $id field is required in definitions, and that each ref points to one of those ids? Then we would resolve the right type without too much trouble.

@ostrowr
Copy link
Owner Author

ostrowr commented Nov 3, 2019

@ostrowr ostrowr added this to the 1.0 milestone Nov 3, 2019
@ostrowr ostrowr added the enhancement New feature or request label Dec 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant