mengnankkkk commented on PR #2852: URL: https://github.com/apache/fory/pull/2852#issuecomment-3466896450
> @mengnankkkk How about reuse `depth` field in `Fory` instance, you can set it to -1 by default, and when register any Serializer/Class, check whether `depth` is still -1. If it `>=` 0, it means serialize/deserialize has happened, then you can just thow exception. You can add this check in `TypeResolver` OK, I'll do my best. I hope it won't be like the last PR attempt, where it couldn't be resolved. If it really can't be resolved, I'll have to ask you for advice again.[doge] -- 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]
