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
Case: I have multiple implementation for my entity interface and one schema for all it.
Now SchemaContainer
use class_exists(), but not interface_exists()
use get_classs() for check instance type - and known only about last class from object class parents
New logic for support interface/superclass in map for encoder should check class hierarchy in entries.
Now I need create proxy for all resource and wrap all data entries in my request handler.
Another possible ugly way - write every final implementation to encoder map with dublicated schema. Manual to config file, or generate by some rules (scan sources, annotations, etc). 20-50 entries in my case.
The text was updated successfully, but these errors were encountered:
Case: I have multiple implementation for my entity interface and one schema for all it.
Now SchemaContainer
class_exists()
, but notinterface_exists()
get_classs()
for check instance type - and known only about last class from object class parentsNew logic for support interface/superclass in map for encoder should check class hierarchy in entries.
Now I need create proxy for all resource and wrap all data entries in my request handler.
Another possible ugly way - write every final implementation to encoder map with dublicated schema. Manual to config file, or generate by some rules (scan sources, annotations, etc). 20-50 entries in my case.
The text was updated successfully, but these errors were encountered: