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

Can't make an optional reference #47

Open
4strid opened this issue Apr 1, 2018 · 1 comment
Open

Can't make an optional reference #47

4strid opened this issue Apr 1, 2018 · 1 comment

Comments

@4strid
Copy link
Owner

4strid commented Apr 1, 2018

Currently you can't mix references and basic types, so [ReferencedModel, null] won't work the way you might expect. Not really sure how to accomplish this, but if it's necessary I'm sure I can find a way.

@4strid
Copy link
Owner Author

4strid commented Apr 18, 2018

I don't think it's a good idea to have an optional reference in your schema.

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

No branches or pull requests

1 participant