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

Fix language enum issue #61

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix language enum issue #61

wants to merge 1 commit into from

Conversation

diegoceccarelli
Copy link
Owner

Commit 58d4b1e introduced a regression: now languages are not just strings but proper values of an enum but in the enum in avro I specied only Italian and English.

Requesting a language other than "it" or "en" will produce an error accessing to the enum as kindly observed by @fabriziorizzo in #60.

This PR should fix the issue. I won't commit it in the master now because I want to add tests and more documentation, and check with @fabriziorizzo that the change works.

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.

1 participant