Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "bool" Annotation/Type #807

Closed
VincentChataignier opened this issue Aug 10, 2017 · 4 comments · Fixed by #818
Closed

Add "bool" Annotation/Type #807

VincentChataignier opened this issue Aug 10, 2017 · 4 comments · Fixed by #818

Comments

@VincentChataignier
Copy link

VincentChataignier commented Aug 10, 2017

Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? no

Can we add the type "bool" to Annotation/Type with "boolean" type ?
Like "integer" and "int" type.

Example :

/**
* @Assert\Type(type="bool")
*/

Thank you for your feedback 😃

@goetas
Copy link
Collaborator

goetas commented Aug 10, 2017

why not :) PR are welcome!

@VincentChataignier
Copy link
Author

Ok 😃 I will try to analyse the code and adding with PR.

@goetas
Copy link
Collaborator

goetas commented Aug 10, 2017

tests and documentation in this case are "must" to have :)

@Majkl578
Copy link
Contributor

#818

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants