Doctrine type inference for custom types #8808
Unanswered
TristanPouliquen
asked this question in
Support Questions
Replies: 1 comment 1 reply
-
If there is not, I'd be happy to conribute in this direction, with some guidance as I'm new to all the Parsing system & haven't quite gotten around the code by reading it on my own! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I'm trying to use the new inference for Doctrine configuration, and I had a question I didn't find an answer to easily.
Doctrine automatically infers the Column type from the PHP attribute type for default types (eg: int, string, Datetime...).
Is there a way to register new type mappings?
For example, we are using Ramsey\UUID with its Doctrine support, would there be a way to configure Doctrine to register automatically a
private Uuid $id
column to@Column(type="uuid_binary_ordered_time")
?Beta Was this translation helpful? Give feedback.
All reactions