Skip to content

Commit

Permalink
Add missing readFragment export in relay-runtime (#4931)
Browse files Browse the repository at this point in the history
Summary:
this PR fixes #4926 by adding export `readFragment`

Pull Request resolved: #4931

Reviewed By: captbaritone

Differential Revision: D70646229

Pulled By: tyao1

fbshipit-source-id: c6cf80bf7eb12e4947baf3d6983fc7665dbf8e7f
  • Loading branch information
sairion authored and facebook-github-bot committed Mar 7, 2025
1 parent 65b9b9a commit 5184538
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/relay-runtime/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ module.exports = {
suspenseSentinel,
isRequest: GraphQLTag.isRequest,
readInlineData,
readFragment: ResolverFragments.readFragment,

// Declarative mutation API
MutationTypes: RelayDeclarativeMutationConfig.MutationTypes,
Expand Down

0 comments on commit 5184538

Please sign in to comment.