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 could allow us to add/remove fields to schema, however we want to be sure before implementing this whether we want to include this feature as it may cause things to break if used with abandon, i.e. compile time pattern matching fails or essential fields used throughout the system being removed.
The text was updated successfully, but these errors were encountered:
nimish-mehta
changed the title
Extension Approach 1 and 2, Only allow to add to schema.
Extension Approach 1 and 2, only allow to add to schema.
Apr 11, 2016
Right now in extension approach 1 and 2 we can only add to existing schema via
and then we use it like this in models.
While this is simple, it does not allow us to remove/modify existing relations.
What we can try and do is use something like this in models:
and then provide two methods:
using this we can rewrite the schema call.
see initial implementation here and diff
This could allow us to add/remove fields to schema, however we want to be sure before implementing this whether we want to include this feature as it may cause things to break if used with abandon, i.e. compile time pattern matching fails or essential fields used throughout the system being removed.
The text was updated successfully, but these errors were encountered: