Skip to content

Conversation

@JulienRAVIA
Copy link
Contributor

@JulienRAVIA JulienRAVIA commented Mar 10, 2025

Nouveau comportement

Pour avoir une classe avec les types "supportés" par le serializer, et éviter les typos.

Ainsi on aurait un truc comme ceci :

#[Rest\Attribute(name: '@id', type: Types::STRING)]
private $id;

Même si on dirait que c'est assez freestyle les types, et qu'on fait rien de particulier avec sauf avec les datetime. (je sais pas)

@JulienRAVIA JulienRAVIA merged commit 797c219 into main Mar 11, 2025
6 checks passed
@JulienRAVIA JulienRAVIA deleted the jr-feat-types branch March 11, 2025 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants