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
Change the class Record to be an interface instead of a class. This will be a more versatile solution.
This may be a breaking change due to a name change (Record->IRecord) to follow naming conventions.
The text was updated successfully, but these errors were encountered:
Indeed, having a base class and not an interface have many limitations. Migrating to an IRecord interface seems feasible. I was thinking about this implementation:
IThingRecord and ITableAndIdRecord as the 2 main base types to detect what to do: either use the Thing object directly or create a thing from both Table and Id property.
This will allow to create default interfaces and extend with new ones. Example:
Change the class Record to be an interface instead of a class. This will be a more versatile solution.
This may be a breaking change due to a name change (Record->IRecord) to follow naming conventions.
The text was updated successfully, but these errors were encountered: