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

Add a self field to all object types #262

Open
rbalicki2 opened this issue Nov 12, 2024 · 0 comments
Open

Add a self field to all object types #262

rbalicki2 opened this issue Nov 12, 2024 · 0 comments
Labels
good first issue Good for newcomers

Comments

@rbalicki2
Copy link
Collaborator

We should add an unconditional pointer that is a self field on every object type, so you can do something like

fieldGroup: self {
  foo
  bar
  baz
}
  • The default behavior will be to create a ... on SelfType inline fragment selection in the merged selection set and in the query, which is fine as an initial pass. But we should eventually understand how to merge that.
  • This will eventually be more useful when you can loadably select pointers, use unwraps, etc
@rbalicki2 rbalicki2 added the good first issue Good for newcomers label Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant