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
with current realization we can't add additional field to metadata
Suggestion
Probably, we can extend @apiResourceCollection and @apiResource with key-value field, like: meta="title":"Event created"|"message":"Event successful created"
Or add this feature as additional tag like: @apiResourceAdditional title="Event Created" message="Event successful created" "my custom key"="my custom value"
The text was updated successfully, but these errors were encountered:
Description
When I send response with Resource, sometimes I use
->additional()
call for adding meta information for display, like:with current realization we can't add additional field to metadata
Suggestion
Probably, we can extend
@apiResourceCollection
and@apiResource
with key-value field, like:meta="title":"Event created"|"message":"Event successful created"
Or add this feature as additional tag like:
@apiResourceAdditional title="Event Created" message="Event successful created" "my custom key"="my custom value"
The text was updated successfully, but these errors were encountered: