-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(termlist): fix handling of nested dictionaries
The documentation described the behaviour of `with` and `return` when given a nested set of dictionaries: ```javascript query.with({ people: { name: 'personName', age: 'personAge', }, }); // WITH people.name AS personName, people.age AS personAge ``` However the types forbade this. If using Javascript, no error was returned, however the result was very different to the documentation. It now behaves as documentated. If you are using Typescript this is not a breaking change as the types would have prevented you from using the faulty behaviour. If you as using Javascript then there is a chance that this will change the behaviour of your code but it is unlikely and the other behaviour is a bug. fixes #137
- Loading branch information
Showing
4 changed files
with
24 additions
and
27 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