Kriskras99 commented on issue #252:
URL: https://github.com/apache/avro-rs/issues/252#issuecomment-3178991578

   As discussed in 
https://github.com/apache/avro-rs/pull/260#issuecomment-3178949614 the PFC 
might be the wrong thing to use for uploading your schema to the registry. You 
should probably do `serde_json::to_string{_pretty}(&schema)`, which does 
include the `default` field.
   
   We should probably add a `to_string` or `to_schema(pretty: bool) -> String` 
function to `Schema` to make it easier for the user to do this (instead of 
having to use `serde_json::to_string`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to