You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fory.apache.org by "BaldDemian (via GitHub)" <gi...@apache.org> on 2026/07/01 04:10:46 UTC

[PR] fix(compiler): reject optional any in IDL validation [fory]

BaldDemian opened a new pull request, #3807:
URL: https://github.com/apache/fory/pull/3807

   ## Why?
   
   Reject `optional any` and `any [nullable = true]` in IDL to prevent compilation errors in C++ and Rust.
   
   ## What does this PR do?
   
   1. Reject `optional any` and `any [nullable = true]` in `validator.py`.
   2. Change testcases and doc accordingly.
   
   ## Related issues
   
   Closes https://github.com/apache/fory/issues/3805 
   
   ## AI Contribution Checklist
   
   - [X] Substantial AI assistance was used in this PR: `no`
   
   ## Does this PR introduce any user-facing change?
   
   Yes, users now cannot use `optional any` and `any [nullable = true]` in IDL.
   
   - [ ] Does this PR introduce any public API change?
   - [ ] Does this PR introduce any binary protocol compatibility change?
   
   ## Benchmark
   
   N/A.
   


-- 
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: commits-unsubscribe@fory.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org


Re: [PR] fix(compiler): reject optional any in IDL validation [fory]

Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang merged PR #3807:
URL: https://github.com/apache/fory/pull/3807


-- 
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: commits-unsubscribe@fory.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org