bamlab/react-native-graphql-transformer

update for RN 56?

arolson101 opened this issue · 2 comments

react-native-typescript-transformer has been updated to handle RN >= 56; could you do the same? I'm currently getting Cannot find module 'metro/src/transformer'

if (reactNativeMinorVersion >= 56) {
  upstreamTransformer = require('metro/src/reactNativeTransformer')
} else if (reactNativeMinorVersion >= 52) {
  upstreamTransformer = require('metro/src/transformer')
} else if (reactNativeMinorVersion >= 47) {
  upstreamTransformer = require('metro-bundler/src/transformer')
} else if (reactNativeMinorVersion === 46) {
  upstreamTransformer = require('metro-bundler/build/transformer')

Good morning, thank you for this example ! We have updated the repo :)
You have been added to the contributors 🎉

Well done @arolson101 and sorry for big leadtime between the issue and the reaction.