forked from hasura/graphql-engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Option from ModelWithPermissions (hasura#529)
<!-- Thank you for submitting this PR! :) --> ## Description Much as per hasura/v3-engine#524 for `CommandWithPermission`, this removes the `Option` from `ModelWithPermissions`. Again, select permissions are opt-in, so `Some(HashMap::new())` is the same as `None`, so we can remove this layer of indirection, which I believe was only there because we were building up the `Model` type incrementally. Functional no-op. V3_GIT_ORIGIN_REV_ID: fcb6479f32b001380ae24db6439e96339a868692
- Loading branch information
1 parent
66990c0
commit aae750a
Showing
5 changed files
with
91 additions
and
121 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
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
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