BaldDemian commented on PR #3789:
URL: https://github.com/apache/fory/pull/3789#issuecomment-4798552002

   Hi @chaokunyang, I also noticed that, the doc doesn't specify `any` 
`message` `union` as `map` key types:
   
https://github.com/apache/fory/blame/6c6ba3fb4172a71811c57664ae2a892f04208b5b/docs/compiler/schema-idl.md#L1492-L1498
   
   But the code 
   
   
https://github.com/apache/fory/blob/6c6ba3fb4172a71811c57664ae2a892f04208b5b/compiler/fory_compiler/ir/validator.py#L40-L46
   
   and 
   
   
https://github.com/apache/fory/blob/6c6ba3fb4172a71811c57664ae2a892f04208b5b/compiler/fory_compiler/ir/validator.py#L550-L553
   
   actually allows `any` `message` `union` as key types.
   
   So which is the intention of Fory's design?
   


-- 
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]

Reply via email to