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

Validation using alias and visa-versa #35

Open
Extertmin4tor opened this issue Oct 30, 2020 · 2 comments
Open

Validation using alias and visa-versa #35

Extertmin4tor opened this issue Oct 30, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@Extertmin4tor
Copy link

Extertmin4tor commented Oct 30, 2020

Hi!

Can I use pydantic config parameter allow_population_by_field_name with odmantic models?

@art049
Copy link
Owner

art049 commented Nov 4, 2020

Hello, unfortunately not yet, the aliases are not enabled 😢 .
But it's something that should come soon. The unclear part is about structuring the resulting document with aliases.
You can have a look to #38 :)

@art049 art049 added the enhancement New feature or request label Nov 4, 2020
@hard-coders
Copy link

Any updates...? I really want to use allow_population_by_field_name with odmantic.
It's been over two years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants