Skip to content

fix(clerk-js,types): Invite org member public metadata#494

Merged
gkats merged 1 commit into
mainfrom
org-invitation-create-no-metadata
Nov 2, 2022
Merged

fix(clerk-js,types): Invite org member public metadata#494
gkats merged 1 commit into
mainfrom
org-invitation-create-no-metadata

Conversation

@gkats
Copy link
Copy Markdown
Contributor

@gkats gkats commented Nov 2, 2022

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Packages affected

  • @clerk/clerk-js
  • @clerk/clerk-react
  • @clerk/nextjs
  • @clerk/remix
  • @clerk/types
  • @clerk/themes
  • @clerk/clerk-expo
  • @clerk/backend-core
  • @clerk/clerk-sdk-node
  • @clerk/edge
  • build/tooling/chore

Description

  • npm test runs as expected.
  • npm run build runs as expected.

Back in #486 we introduced the ability to set organization invitation metadata when inviting a new member to an organization. It was a mistake.

The public metadata for an organization invitation shouldn't be written through ClerkJS, but they can be read.

Removed the publicMetadata argument from the Organization#inviteMember method.

The public metadata for an organization invitation shouldn't be written
through ClerkJS.
Removed the publicMetadata argument from the Organization#inviteMember
method.
The publicMetadata property can still be read in ClerkJS though.
@gkats gkats merged commit ad72966 into main Nov 2, 2022
@gkats gkats deleted the org-invitation-create-no-metadata branch November 2, 2022 15:06
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jun 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants