-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
AVRO-3900: [Rust] Make it possible to use custom names validators #2643
Commits on Dec 21, 2023
-
AVRO-3900: [Rust] Make it possible to use custom validators
WIP TODO: - Extract validators for enum symbols and record field names - Polish the APIs Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 75232b8 - Browse repository at this point
Copy the full SHA 75232b8View commit details -
AVRO-3900: Add validator trait for enum symbol names
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bc9fbbc - Browse repository at this point
Copy the full SHA bc9fbbcView commit details -
AVRO-3900: Introduce validator for RecordField's name
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 46a24d1 - Browse repository at this point
Copy the full SHA 46a24d1View commit details -
AVRO-3900: Extract the custom validators tests as IT tests
This way they use the public APIs of the crate, as a real user application. Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8446e07 - Browse repository at this point
Copy the full SHA 8446e07View commit details -
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c277f41 - Browse repository at this point
Copy the full SHA c277f41View commit details -
AVRO-3900: Split the validator integration tests
Otherwise there are timing issues with the initializations of the OnceLock's for the different validators. Parsing a Schema leads to initialization of the default validator and later it is impossible to set a custom one Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f11af15 - Browse repository at this point
Copy the full SHA f11af15View commit details
Commits on Dec 22, 2023
-
AVRO-3900: Simplify generate_interop_data.rs example to not use avro_…
…test_helper crate For some reason clearing the log messages in the tests destructor (#[dtor]) was failing for this example. Simplify the TestLogger to use the std thread_local!() instead of the third party ref_thread_local!() Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8315922 - Browse repository at this point
Copy the full SHA 8315922View commit details -
AVRO-3900: Merge the validators integration tests in one test
Just make sure the setup of the custom validators is done before the parsing of any schema to prevent registering the default validator (SpecificationValidator) Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 86c70b3 - Browse repository at this point
Copy the full SHA 86c70b3View commit details -
AVRO-3900: Improve the documentation
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d7c63a - Browse repository at this point
Copy the full SHA 9d7c63aView commit details
Commits on Jan 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 822c340 - Browse repository at this point
Copy the full SHA 822c340View commit details