pypi strawberry-graphql 0.275.0
🍓 0.275.0

latest releases: 0.281.0, 0.280.0, 0.279.0...
2 months ago

Adds a new CLI command strawberry locate-definition that allows you to find the source location of a definition in the schema.

strawberry locate-definition path.to.schema:schema ObjectName
strawberry locate-definition path.to.schema:schema ObjectName.fieldName

Results take the form of path/to/file.py:line:column, for example: src/models/user.py:45:12.

This can be used, for example, with the go to definition feature of VS Code's Relay extension (configured via the relay.pathToLocateCommand setting).

Releases contributed by @millar via #3902

Don't miss a new strawberry-graphql release

NewReleases is sending notifications on new releases.