Skip to content

Improve visiblity / type filtering #5014

Closed
@rmosolgo

Description

@rmosolgo

In #4998, I started on a new schema visibility implementation. I have a few goals here:

  • Make it possible to load GraphQL types lazily -- only loading types needed by a given query.
  • Make it possible to use cached schema subsets (don't have to recalculate the visible schema on every query -- when possible)
  • Improve logging and debugging of visibility (especially when types are hidden)
  • Make a very smooth migration process:
    • Use the Query#types interface to support logging when the two systems would diverge
    • Clearly document the expectations of the new system (Warden was basically never documented, and arguably tried to do too much, but couldn't do everything)

I'm opening this issue for my own purposes but also in case anyone wants to share any thoughts or questions on the work.

TODO:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions