-
Notifications
You must be signed in to change notification settings - Fork 53
Description
From my point of view it is pretty annoying if you would like to implement get method to entity model and your method is translated to API. Also in that case you get an error "Models are fetched read only". GO 6.7 added compatibility with PHP 8.1 so since this version this could be easily solved with attributes. For 6.6 there is an option use doctrine/annotations package which allows you parse method annotations. @mschering please think about it. Currently there is exception for static methods only. However if you have to call your method getAttachments it is automatically parsed whether it is desirable or not. Maybe you can change the default logic so getters-setter won't be automatically added to API until you specify there attribute [api] or so..