Skip to content

fix: handle optional parameters - #4330

Merged
aatifsyed merged 1 commit into
mainfrom
aatifsyed-patch-1
May 16, 2024
Merged

fix: handle optional parameters#4330
aatifsyed merged 1 commit into
mainfrom
aatifsyed-patch-1

Conversation

@aatifsyed

@aatifsyed aatifsyed commented May 15, 2024

Copy link
Copy Markdown
Contributor

LotusJson<Option<T>> is handled as an optional argument

@aatifsyed
aatifsyed requested a review from a team as a code owner May 15, 2024 19:52
@aatifsyed
aatifsyed requested review from LesnyRumcajs and lemmih and removed request for a team May 15, 2024 19:52
@aatifsyed aatifsyed changed the title Update mod.rs fix: handle optional parameters May 15, 2024
@aatifsyed
aatifsyed enabled auto-merge May 15, 2024 19:53
@ruseinov

ruseinov commented May 15, 2024

Copy link
Copy Markdown
Contributor

nit: Does this fix an encountered issue? Perhaps a simple test is in order to verify that LotusJson<Option<T>> encodes/decodes the way we expect. It's a couple of lines of code, but goes a long way, especially if this code is ever touched by somebody else.

I leave this up to you, non-blocking.

@ruseinov
ruseinov self-requested a review May 15, 2024 20:49
@aatifsyed
aatifsyed added this pull request to the merge queue May 16, 2024
Merged via the queue into main with commit c23b5b3 May 16, 2024
@aatifsyed
aatifsyed deleted the aatifsyed-patch-1 branch May 16, 2024 06:50
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.

3 participants