-
Notifications
You must be signed in to change notification settings - Fork 0
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 languagecode codec param #631
Conversation
59ab841
to
39d9a29
Compare
common/src/main/scala/no/ndla/common/model/api/LanguageCode.scala
Outdated
Show resolved
Hide resolved
ebac6d1
to
3ef1e28
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eg skjønner ikkje heilt denne koden, men det funker i det minste!
3ef1e28
to
d9e259e
Compare
d9e259e
to
a8ceed1
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jeg liker dette!
På sikt så kunne vi kanskje sendt LanguageCode
rundt i kodebasen alle steder vi vil ha språk og, men sikkert smart å starte med bare deserialiser/serialiserings biten!
Lager en codec for å automatisk validere språkkoder