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

WIP: improve invite API #991

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

Conversation

gmaclennan
Copy link
Member

@gmaclennan gmaclennan commented Feb 12, 2025

The goal of this PR is to improve the invite API as proposed in #990. This PR also switches to modelling invites with a State Machine, implemented with XState, which should hopefully make errors much more unlikely, at the cost of increased verbosity of the code. The state machine can be visualized here.

@gmaclennan gmaclennan self-assigned this Feb 12, 2025
@awana-lockfile-bot
Copy link

package-lock.json changes

Click to toggle table visibility
Name Status Previous Current
ensure-error ADDED - 4.0.0
xstate ADDED - 5.19.2

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