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

referencing fields with @require that specify arguments #146

Open
dariuszkuc opened this issue Jan 23, 2025 · 0 comments
Open

referencing fields with @require that specify arguments #146

dariuszkuc opened this issue Jan 23, 2025 · 0 comments

Comments

@dariuszkuc
Copy link

Do we want to support such cases?

// subgraph A
type Foo @key(fields: "id") {
  id: ID!
  x(param: String): String
}

// subgraph B
type Foo @key(fields: "id") {
  id: ID!
  y(x: String @require(field: "x"))
}
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

No branches or pull requests

1 participant