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
Currently, queries must reference collections that have been explicitly registered and assigned an ID.
While this ensures consistency and optimizations across the application, it imposes friction during prototyping and handling small, local, or component-scoped datasets.
Examples of friction:
Rapid prototyping where developers want to inject inline data without first registering a persistent collection.
One-off datasets that are only relevant to a single component or feature.
Temporary or ephemeral data that does not justify full lifecycle management.
This requirement slows down early development and complicates otherwise simple UI wiring.
Proposed Solution
Allow developers to directly add a standard collection into a query by instantiating a Collection inline without requiring explicit prior registration.
Problem
Currently, queries must reference collections that have been explicitly registered and assigned an ID.
While this ensures consistency and optimizations across the application, it imposes friction during prototyping and handling small, local, or component-scoped datasets.
Examples of friction:
This requirement slows down early development and complicates otherwise simple UI wiring.
Proposed Solution
Allow developers to directly add a standard collection into a query by instantiating a
Collection
inline without requiring explicit prior registration.Proposed API Extension
Key properties:
.from(new Collection(...))
binds a collection instance directly into the query.Design Principles
The text was updated successfully, but these errors were encountered: