Initial support for querying function parameters in the schema #154
Labels
C-enhancement
Category: raise the bar on expectations
E-help-wanted
Call for participation: Help is requested to fix this issue.
E-mentor
Call for participation: Mentorship is available for this issue.
Make an MVP for accessing function parameters in the schema. Aim to make it possible to write lints that detect changes in the number of parameters a function takes.
Parameter names can be changed without violating semver so are not critical to support, but are a "nice-to-have" for e.g. the Playground. Add them to the schema if possible.
Parameter type information is a bit more difficult to represent due to #149, so feel free to ignore types for now in the interest of moving quickly.
Relevant portion of the schema:
https://github.com/obi1kenobi/trustfall-rustdoc-adapter/blob/main/src/rustdoc_schema.graphql#L430-L493
The text was updated successfully, but these errors were encountered: