-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove
ModelsGraphqlOutput::graphql_types
, as it's not used. (#769)
### What This removes an unused field. The remaining struct had just one field and is private to the crate, so I converted it to a type alias. ### How In order to make `rustc` highlight the issue, I reduced the number of types we export as `pub`, changing some to `pub(crate)`. Then I just deleted the field once the warning showed up. V3_GIT_ORIGIN_REV_ID: 7a26e99f062ed0f2c7449e1f57bc76068f059afb
- Loading branch information
1 parent
5b2e36c
commit 00db411
Showing
4 changed files
with
44 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 11 additions & 12 deletions
23
v3/crates/metadata-resolve/src/stages/model_permissions/types.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 11 additions & 14 deletions
25
v3/crates/metadata-resolve/src/stages/models_graphql/types.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters