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 causes issues with resources returning Json representations.
weierophinney:
@jdelisle Yes, please open an issue on zfcampus/zf-apigility-admin; basically, we shouldn't be re-populating the metadata map on updates to the service, and that's the problem you're having.
This will be harder than I thought to achieve. We actually do need to repopulate the metadata map in instances where the entity or collection are changed, or the hydrator. I'm not sure if we'll be able to resolve this; we may need to instead document workarounds.
Create a different entity type in your service [than the one defined in the metadata map], and make sure your resource class returns entities using that type.
This causes issues with resources returning Json representations.
weierophinney:
See zfcampus/zf-hal#38
Originally posted by @jdelisle at zfcampus/zf-apigility-admin#209
The text was updated successfully, but these errors were encountered: