-
Notifications
You must be signed in to change notification settings - Fork 10
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
docs: add entity_creation.md doc #144
base: main
Are you sure you want to change the base?
Conversation
``` | ||
yarn codegen | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we'll need to add a section about how to add "order by" plugins (in the submodule 🙄) for new entities now that we're supporting custom ordering.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps there's some low-effort change we could make which would allow us to move the custom ordering plugin code out of the subql submodule and into this repo. I think that would improve maintainability.
- L16 - assert that the result is not null. | ||
- L17 - assert the actual field value against the expected value. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would make sense to add a section about migrations here. We can probably copy, move, and/or reference the DB Migrations section of the README for most of this.
Entity Development & Testing Documentation
Closing #26
project.yaml
to introduce custom entities.