Skip to content

Using a query parameter named type generates invalid Rescript #30

@Kingdutch

Description

@Kingdutch
Syntax error!
  /<project>/src/routes/__generated__/RouteDeclarations.res:525:43-46

  523 ┆ prepared: prepared,
  524 ┆ 
  525 ┆   type: preparedProps.type,
  526 ┆   direction: preparedProps.direction,
  527 ┆   at: preparedProps.at,

  `type` is a reserved keyword. Keywords need to be escaped: \"type"

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingrouterIssue related to the router itself.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions