router icon indicating copy to clipboard operation
router copied to clipboard

adding `@fromContext` directive validation

Open clenfest opened this issue 6 months ago • 8 comments

  • Add complete @fromContext directive validation in from_context.rs validator
  • Implement field value type validation with support for:
    • Single field selections and nested field selections
    • Type compatibility checking between context and argument types
    • Multiple context locations with duck typing support
    • Inline fragment validation with type conditions

🎫 FED-497

clenfest avatar May 23 '25 20:05 clenfest

@clenfest, please consider creating a changeset entry in /.changesets/. These instructions describe the process and tooling.

github-actions[bot] avatar May 23 '25 20:05 github-actions[bot]

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: 63353043f2c376b39f7ba7c4

svc-apollo-docs avatar May 23 '25 20:05 svc-apollo-docs

✅ Docs preview has no changes

The preview was not built because there were no changes.

Build ID: fda80d4d27162d07c291dc9f

apollo-librarian[bot] avatar Jun 09 '25 14:06 apollo-librarian[bot]

🛠️ Docs preview building...

The preview is currently being built.

Build ID: 9664a3ce915e375f29806fc3

apollo-librarian[bot] avatar Jun 09 '25 14:06 apollo-librarian[bot]

🛠️ Docs preview building...

The preview is currently being built.

Build ID: 9664a3ce915e375f29806fc3

apollo-librarian[bot] avatar Jun 09 '25 14:06 apollo-librarian[bot]

🛠️ Docs preview building...

The preview is currently being built.

Build ID: 9664a3ce915e375f29806fc3

apollo-librarian[bot] avatar Jun 09 '25 14:06 apollo-librarian[bot]

🛠️ Docs preview building...

The preview is currently being built.

Build ID: 9664a3ce915e375f29806fc3

apollo-librarian[bot] avatar Jun 09 '25 14:06 apollo-librarian[bot]

🛠️ Docs preview building...

The preview is currently being built.

Build ID: 9664a3ce915e375f29806fc3

apollo-librarian[bot] avatar Jun 09 '25 14:06 apollo-librarian[bot]