You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
constpokemons=awaitpokemon.query.$batch({pokemons: {$include: true,// name: true, <-- at least one field must be selected},})
Ideas / Proposed Solution(s)
At-least one field semantics will probably require some complex type utilities.
(x) Thinking statically... we could define a union of all selection sets combinations wherein one field is required and rest are optional, but that would be a huge a union and probably not great on intelligence meaning this static approach wouldn't be much better or even worse than a fully type utility approach.
Big concerns here are reducing type legibility and/or performance without significant benefit.
The text was updated successfully, but these errors were encountered:
Perceived Problem
This will cause a runtime error:
Ideas / Proposed Solution(s)
Big concerns here are reducing type legibility and/or performance without significant benefit.
The text was updated successfully, but these errors were encountered: