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
This isn't so much a bug or support request, but something I discovered that could enhance developer experience. See sample project/findings here naushadh/persistent-examples. TLDR: breaking entity definitions into smaller components can yield immense compilation time gains.
Is there any downside to the approach? Should persistManyFileWith be added as an official persistent-template API? Should guides suggest this approach (for compile time gains)?
I'm OK with all of these approaches. They should probably be caveated as optimizations for advanced users, and not the standard approach. persistManyFileWith sounds good, though I don't know how hard it would be to fix the foreign keys with parseReferences
This isn't so much a bug or support request, but something I discovered that could enhance developer experience. See sample project/findings here naushadh/persistent-examples. TLDR: breaking entity definitions into smaller components can yield immense compilation time gains.
Is there any downside to the approach? Should
persistManyFileWith
be added as an officialpersistent-template
API? Should guides suggest this approach (for compile time gains)?Possibly related things:
persistent
schema in pieces?The text was updated successfully, but these errors were encountered: