Skip to content

Conversation

@egormanga
Copy link
Contributor

Description of Changes

Ability to, given a table:

#[table(name=table)]
struct Table {
	option: Option<i32>,
}

do:

INSERT INTO table (option) VALUES (0);

instead of getting:

Error: The literal expression `0` cannot be parsed as type `(some: I32 | none: ())`

API and ABI breaking changes

None.

Expected complexity level and risk

1:

Quite literally almost a one-liner.

Testing

  • Manual testing
  • Unit tests

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