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

Check that adapters implement declared properties, edges, and coercions. #384

Merged
merged 5 commits into from
Jul 20, 2023

Conversation

obi1kenobi
Copy link
Owner

No description provided.

Also fix a ton of the issue the invariant checker found 😅
Copy link
Owner Author

Choose a reason for hiding this comment

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

All changes in this file are to resolve existing bugs that the invariant checker found in this adapter, such as failures to adhere to its own schema etc.

@obi1kenobi obi1kenobi marked this pull request as ready for review July 20, 2023 04:37
Copy link
Owner Author

Choose a reason for hiding this comment

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

Changes in this file also resolve existing bugs in this adapter implementation that the new checker found.

Comment on lines +40 to +46
name: String
value: Int
vowelsInName: [String]

predecessor: Number
successor: Number!
multiple(max: Int!): [Composite!]
predecessor: Number
successor: Number!
multiple(max: Int!): [Composite!]
Copy link
Owner Author

Choose a reason for hiding this comment

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

Formatting change to match the rest of the schema file.

@obi1kenobi obi1kenobi enabled auto-merge (squash) July 20, 2023 16:52
@obi1kenobi obi1kenobi merged commit 7d66b4d into main Jul 20, 2023
12 checks passed
@obi1kenobi obi1kenobi deleted the adapter_correctness branch July 20, 2023 16:58
@obi1kenobi obi1kenobi added A-interpreter Area: executing IR using the interpreter R-relnotes Release: document this in the release notes of the next release labels Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-interpreter Area: executing IR using the interpreter R-relnotes Release: document this in the release notes of the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant