mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
e26dd1c35d
Summary: This parses the output JSON schema into Java Type's, without any alias resolution. Some parts of the schema have incomplete information, hence a bunch of TODOs in the code expressing the issues. Notes: * The type structure here could be implemented in other codegen generators as well (including the RNCodegen.js' generators) for better type safety and correctness. With this exercise, I was able to catch a few issues mentioned above. * This commit does not produce any Java code with JavaPoet yet, just parsing the schema. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D23152891 fbshipit-source-id: 9f774dd98975f7202d3faf11c3fbfb83d4c97f5a