sarutak opened a new pull request, #2456: URL: https://github.com/apache/avro/pull/2456
AVRO-3837 ## What is the purpose of the change This PR fixes an issue that `namespace` the Rust binding wrongly accept invalid namespaces in `namespace` fields, while invalid namespaces in `name` fields don't accepted. For example, the following schema is not accepted as expected. ``` { "name": "ns1.invalid-ns.record1", "type": "record" "fields": [] } ``` But the following schema is wrongly accepted. ``` { "name": "record1", "namespace": "ns1.invalid-ns", "type": "record", "fields": [] } ``` ## Verifying this change Added new tests and all tests passed with `cargo test --workspace`. ## Documentation - Does this pull request introduce a new feature? (no) -- 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: dev-unsubscr...@avro.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org