hyper-mesh icon indicating copy to clipboard operation
hyper-mesh copied to clipboard

allow build (and push) to work on scopes

Open catmando opened this issue 7 years ago • 0 comments

active record allows you to push and build on a scope, and the attributes will be automatically filled in to match the scope.

This is probably doable by doing something like this:

as each scope is processed (on the server) we figure out the attribute-value pairs for the scope and same them in a structure inside the AR base i.e. {model-class: {scope: {attr: val, attr: val}, scope: ... }, model-class ...}

then during the setup for the client download we dump this structure to the client.

Lots of work for a feature I doubt many people know exists.

catmando avatar Feb 09 '18 22:02 catmando