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

Make user role type more representative of reality. #13211

Merged
merged 1 commit into from Mar 7, 2024
Merged

Conversation

samwho
Copy link
Collaborator

@samwho samwho commented Mar 7, 2024

Description

If this type had been like this from the start, https://github.com/Budibase/budibase-pro/pull/272 wouldn't have happened.

I feel like it's very strange of TypeScript to take your word for it when you write trivially incorrect code like this:

image

@samwho samwho merged commit b54302c into master Mar 7, 2024
12 checks passed
@samwho samwho deleted the correct-role-type branch March 7, 2024 09:40
@github-actions github-actions bot locked and limited conversation to collaborators Mar 7, 2024
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.

None yet

2 participants