Skip to content
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

react: enable profile field policy #901

Merged
merged 1 commit into from
Apr 11, 2024
Merged

Conversation

krzysu
Copy link
Contributor

@krzysu krzysu commented Apr 4, 2024

when I try to read a profile by a handle in the field policy, I'm getting an apollo error, this could be because of react strict mode

if (args.request?.forHandle) {
  
  const profile = cache.readQuery({
    query: ProfileDocument,
    variables: variables,
  });

  console.log('profile', profile);
}
Screenshot 2024-04-04 at 14 46 28

Copy link

changeset-bot bot commented Apr 4, 2024

🦋 Changeset detected

Latest commit: 02967d1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@lens-protocol/api-bindings Patch
@lens-protocol/react-native Patch
@lens-protocol/react Patch
@lens-protocol/react-web Patch
@lens-protocol/wagmi Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

height bot commented Apr 4, 2024

This pull request has been linked to 1 task:

💡Tip: Add "Close T-19465" to the pull request title or description, to a commit message, or in a comment to mark this task as "Done" when the pull request is merged.

Copy link

vercel bot commented Apr 4, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
lens-sdk-example-web-wagmi ✅ Ready (Inspect) Visit Preview Apr 11, 2024 10:34am

@krzysu krzysu force-pushed the T-19465/profile-cache-redirect branch from 59eb377 to 02967d1 Compare April 11, 2024 10:31
@krzysu krzysu merged commit 8c2768d into develop Apr 11, 2024
6 checks passed
@krzysu krzysu deleted the T-19465/profile-cache-redirect branch April 11, 2024 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant