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
It shouldn't be on the user to fetch those, we should add some way that the client lazily fetches those kinds of pks when it needs them, or populates the cache based on already-fetched models of that same type.
The text was updated successfully, but these errors were encountered:
I think that the Mouse interface in #33 is a really convenient way to interact with the data. Maybe this autofetching can go there. I believe automatic behavior at the top level is easiest (easier to toggle off too). A custom type for fetching pks could also just be added to models too if you think automatic fetching on the model level is still valuable. In my mind it would be a serialization of the args fed into fetch_pks.
New records being added often have foreign keys they need to provide, such as
test_pk
in the following example:It shouldn't be on the user to fetch those, we should add some way that the client lazily fetches those kinds of pks when it needs them, or populates the cache based on already-fetched models of that same type.
The text was updated successfully, but these errors were encountered: