Skip to content

Anonymous entrypoints #712

@rbalicki2

Description

@rbalicki2

We need "anonymous entrypoints" because:

  • multiple different entrypoint declarations of the same client field can have different @lazyLoad values. We just kind of paper over that right now
  • we may want to pass some hard coded variables, like entrypoint Query.Blog(showDetails: true). Omitted variables, like id, would still be required to be passed
  • it's nice to just have query { Blog(id: 1) } instead of defining a wrapper component.

But wait! Only the last is anonymous! The rest have names. Anonymous here means that the location of the generated entrypoint file cannot be type/fieldName/entrypoint.ts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions