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

refactor: use const for JsonDocumentType name #126

Merged
merged 1 commit into from
Jul 1, 2023

Conversation

KerianMM
Copy link
Contributor

In order to use a constant rather than a string in my doctrine mapping, I added the constant and returned it in the getName of JsonDocumentType

@dunglas dunglas merged commit 89b0148 into dunglas:main Jul 1, 2023
9 checks passed
@dunglas
Copy link
Owner

dunglas commented Jul 1, 2023

Good idea!

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.

None yet

2 participants