-
Notifications
You must be signed in to change notification settings - Fork 25k
chore: Export codegen parseFile function #35000
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Export codegen parseFile function #35000
Conversation
Base commit: f6cfcc3 |
Base commit: f6cfcc3 |
cipolleschi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this. It looks good to me! :D
|
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
b707842 to
b2a1e52
Compare
|
@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator. |
|
@cipolleschi would you mind checking what the Facebook Internal Linter is complaining about for me? |
b2a1e52 to
8db3d79
Compare
8db3d79 to
bf97fd8
Compare
|
This pull request was successfully merged by @gabrieldonadel in 376ffac. When will my fix make it into a release? | Upcoming Releases |
Summary: This PR export the content of the `parseFile` into a parseFile function accepting a callback to buildSchema properly in `parsers/utils.js` as requested on facebook#34872. ## Changelog [Internal] [Changed] - Export ` parseFile` in to a `parseFile` function in `parsers/utils.js` Pull Request resolved: facebook#35000 Test Plan: Run `yarn jest react-native-codegen` and ensure CI is green  Reviewed By: cortinico Differential Revision: D40424857 Pulled By: cipolleschi fbshipit-source-id: a700033d674b8be8e1af942dedf73155ea3ca025
Summary
This PR export the content of the
parseFileinto a parseFile function accepting a callback to buildSchema properly inparsers/utils.jsas requested on #34872.Changelog
[Internal] [Changed] - Export
parseFilein to aparseFilefunction inparsers/utils.jsTest Plan
Run
yarn jest react-native-codegenand ensure CI is green