kitty-eu-org opened a new pull request, #2865: URL: https://github.com/apache/fory/pull/2865
## Why? This PR adds a `#[fory(skip)]` macro attribute similar to `#serde[(skip)]` to provide more flexible field skipping capabilities in Apache Fory™. This enhancement allows developers to easily mark specific fields to be skipped during serialization/deserialization or other processing phases, improving code readability and maintainability. ## What does this PR do? - Adds a new `#[fory(skip)]` macro attribute implementation - The attribute functions similarly to `#[serde(skip)]` but is specifically designed for Fory's internal use cases - Provides consistent attribute parsing and handling within Fory's macro system - Maintains backward compatibility with existing code ## Related issues - [[Rust] support fory macro attributes ](https://github.com/apache/fory/issues/2864) ## Does this PR introduce any user-facing change? - [ ] Does this PR introduce any public API change? - [ ] Does this PR introduce any binary protocol compatibility change? **No**, this PR only adds a new macro attribute that doesn't affect existing public APIs or binary protocols. The `#[fory(skip)]` attribute is opt-in and doesn't change the behavior of existing code. ## Benchmark **No performance impact expected** as this change only adds attribute parsing capability without modifying core processing logic. The macro attribute is processed at compile time and doesn't introduce runtime overhead. -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
