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

SX: update conditional object invariants #2488

Merged
merged 2 commits into from
Jun 8, 2021

Conversation

mrtnzlml
Copy link
Member

@mrtnzlml mrtnzlml commented Jun 7, 2021

Previously, we didn't allow conditional objects resulting in no styles, for example:

styles({ button: false })

This change modifies the invariant constraints to allow such situations and return undefined.

@kodiakhq kodiakhq bot removed the automerge label Jun 8, 2021
@kodiakhq
Copy link

kodiakhq bot commented Jun 8, 2021

This PR currently has a merge conflict. Please resolve this and then re-add the ['automerge', 'automerge priority'] label.

Previously, we didn't allow conditional objects resulting in no styles, for example:

```
styles({ button: false })
```

This change modifies the invariant constraints to allow such situations and return `undefined`.
@mrtnzlml mrtnzlml force-pushed the sx_update_conditional_object_invariants branch from b7adb4c to ee34984 Compare June 8, 2021 15:57
@vercel vercel bot temporarily deployed to Preview – universe-sx-tailwind-website June 8, 2021 15:57 Inactive
@vercel vercel bot temporarily deployed to Preview – universe-example-relay June 8, 2021 15:57 Inactive
@kodiakhq kodiakhq bot merged commit 12b11cc into master Jun 8, 2021
@kodiakhq kodiakhq bot deleted the sx_update_conditional_object_invariants branch June 8, 2021 16:10
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.

2 participants