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(jer): ENUMERATED values as strings #242

Merged
merged 2 commits into from Apr 4, 2024

Conversation

v0-e
Copy link
Contributor

@v0-e v0-e commented Apr 3, 2024

Hey there!

The JER standard (X.697 22. 2021) mandates that JER-encoded ENUMERATED values must be JSON strings instead of integers.

First PR here, so let me know if it can be improved in any way, thanks!

@6d7a
Copy link
Member

6d7a commented Apr 3, 2024

Thank you for your PR! Turns out I've been looking at the wrong spec for the JER implementation 😑, meaning that the entire jer module needs to be revisited. Thank you for noticing!

Copy link
Member

@6d7a 6d7a left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@XAMPPRocky
Copy link
Collaborator

Thank you for your PR, and congrats on your first contribution! 🎉

@v0-e
Copy link
Contributor Author

v0-e commented Apr 4, 2024

@6d7a, I don't know which spec you were looking at, but it looks to me that it is pretty close to X.697 👍
I'll be also testing rasn's JER implementation, so I may be able to help identify and fix any other existing issues.

@XAMPPRocky XAMPPRocky merged commit b879375 into librasn:main Apr 4, 2024
65 checks passed
@github-actions github-actions bot mentioned this pull request Apr 4, 2024
@v0-e v0-e deleted the jer-enumerated-string-values branch April 4, 2024 16:14
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

3 participants