-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use given cardinality in select expression (#1043)
Previously, if you made a select expression with a constant or coalescing expression, we always calculated the cardinality of a object key based on the pointer's cardinality, rather than allowing you to return something assignable to that cardinality. This change will check if the assignment is possible, and override the cardinality when converting the query builder expression to a TS type.
- Loading branch information
1 parent
c1672f7
commit c63404d
Showing
3 changed files
with
72 additions
and
4 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