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

Deprecate tuple syntax for object creation #56

Closed
nrktkt opened this issue Jun 1, 2023 · 0 comments
Closed

Deprecate tuple syntax for object creation #56

nrktkt opened this issue Jun 1, 2023 · 0 comments

Comments

@nrktkt
Copy link
Owner

nrktkt commented Jun 1, 2023

the current tuple syntax

obj("field" -> value)

gives less useful compiler messages than the long or squiggly arrow syntax

obj("field" ~> value, "field2" --> value2)

We should deprecate the magnet based tuple syntax. It could be available as an import if users really want it, but it shouldn't be the default that new users are exposed to.

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

No branches or pull requests

1 participant