We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Document mapping of snake_case to lowerCamelCase when validating json
The protobuf schema uses snake_case:
time_at_last_encounter
however, when I run pfx-tools example, the json examples using lowerCamelCase
E.g.
"subject": { "id": "proband C", "timeAtLastEncounter": { "age": { "iso8601duration": "P27Y" } },
At first I thought this was a bug, but I see it is documented (albeit in the most cursory fashion) in the protobuf docs:
https://developers.google.com/protocol-buffers/docs/proto3#json
I suspect this is highly non-obvious to non-proto-geeks.
Add this here: https://phenopacket-schema.readthedocs.io/en/latest/schema.html
The text was updated successfully, but these errors were encountered:
This was definitely non-obvious to me (as a non-proto person)
Sorry, something went wrong.
No branches or pull requests
Document mapping of snake_case to lowerCamelCase when validating json
The protobuf schema uses snake_case:
time_at_last_encounter
however, when I run pfx-tools example, the json examples using lowerCamelCase
E.g.
At first I thought this was a bug, but I see it is documented (albeit in the most cursory fashion) in the protobuf docs:
https://developers.google.com/protocol-buffers/docs/proto3#json
I suspect this is highly non-obvious to non-proto-geeks.
Add this here: https://phenopacket-schema.readthedocs.io/en/latest/schema.html
The text was updated successfully, but these errors were encountered: