Support key projection as a second parameter of div operation
See original GitHub issueIs it possible to use multiple key projections with div operator? The div operation requires <T0, T1> -> <T1, T2> relation, but keyProjection returns KProperty1<out Any, T> and it is not acceptable as an argument due to the incompatibility of T1 != out Any. It means that only standard KProperty1 can be provided as an argument to KProperty1.div function.
Package::dailyStats.keyProjection(dateId) / DailyStats::requests.keyProjection(version) / [...]
^--- illegal because it's KProperty<out Any, Version>
Package::dailyStats.keyProjection(dateId) / DailyStats::something / [...]
^--- valid because it's KProperty<DailyStats, Version>
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Projection expressions - Amazon DynamoDB
A projection expression is a string that identifies the attributes that you want. To retrieve a single attribute, specify its name. For multiple...
Read more >Projection operations (C#) - Microsoft Learn
Projection refers to the operation of transforming an object into a new form that often consists only of those properties that will be ......
Read more >Setting multiple attributes for an element at once with JavaScript
If I need to call a function that depends on two attributes, usually attributeChangedCallback is called twice, one for each attribute change. Accessing...
Read more >MongoDB Projection & Projection Operators Explained
The first value is the element to be ignored, while the second value is how many remaining elements to be returned. If the...
Read more >Content projection - Angular
Content projection is a pattern in which you insert, or project, the content you want to use inside another component. For example, you...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I reproduce the bug. I’m going to fix it.
Hello,
You can workaround the issue like this: