Skip to content

reference keyword #713

@rbalicki2

Description

@rbalicki2

Easy, with no "hard coded" parameters:

iso(`reference Type.Name`)

Babel/swc should transform this to the default export of the reader AST.

Harder, with hard coded params

Then, with hard coded params:

iso(`reference Type.Name(param: "hardCodedValue", param2: $variable, param3: $variable)`)
  • In the types, the remaining params should be those that are omitted + names of any variables uses. There should be no overlap between omitted parameter names and used variable names.
  • Where do we generate this artifact? Probably at Type/Name/$HASH_reference. But that sucks!
  • Same problem as Anonymous entrypoints #712

This will be used by the migration API. Perhaps other stuff!


  • Are entrypoints just references with some parameter includeQuery? Who knows

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