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

issue 68 - validate schema #78

Merged
merged 1 commit into from
Aug 28, 2020
Merged

Conversation

yasuba
Copy link
Collaborator

@yasuba yasuba commented Aug 24, 2020

Having published locally and tested against a service with a misspelling in the schema, the error surfaces at runtime, not compile time. Although it does say "message" : "Reference to undefined type: Episod". I shouldn't think this the desired behaviour.

Copy link
Member

@tpolecat tpolecat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, sorry for the delay. 👍

Thanks!

@tpolecat tpolecat merged commit 772aa18 into typelevel:master Aug 28, 2020
@tpolecat
Copy link
Member

Does this fully address #68? If so we can close it.

@milessabin
Copy link
Member

👍 from me too.

There are a few additional things we could add. For instance checking that a object type define all the members specified by the interfaces it implements.

@yasuba yasuba deleted the schemaValidation branch September 23, 2020 10:12
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.

3 participants