Martin Rademacher
Martin Rademacher
Changes seem reasonable, in particular if the (roughly) same works for other custom attributes. Would you be able to compress som eof the code into a single file example that...
@roquie I've created a PR (#1423) 1423that adds a scratch test that tries to reproduce your custom attributes. The result so far is looking good to me. If you have...
In fact, 4.7.3 has a related change that might also be fixing your problem.
Ok, back to square one. Would you be able to create a single file repoducer to help debugging?
Sweet, thanks for that.
Question - is it ok to add your sample code as test case to the project? It would get the same Apache license header ideally.... ``` /** * @license Apache...
@roquie #1431 should be what you need :crossed_fingers: If you could quickly test the branch before I merge that would be nice, although I'll merge in any case I think...
Have a look here: https://zircote.github.io/swagger-php/guide/common-techniques.html#enum-cases-as-value Setting the type explicitly to `string` should do what you want
Your question highlights the fact that for a long time I didn't really have a clue what I was doing in the codebase :) Over time a lot of changes...
Generally I'd say the way forward is Attributes - it's part of PHP itself, gives you typing and and a lot more flexibility. Also, annotations are slowly moving towards being...