Skip to content

Conversation

@gvdongen
Copy link
Contributor

@gvdongen gvdongen commented May 24, 2023

  • The get state promise can be resolved with a Buffer or with Empty.
  • If a number 0 is stored, then this should not be converted to null by JSON.parse.
  • Add tests for storing 0 and "" and lists
  • Only return null if the state is Empty

This fixes #67

@gvdongen gvdongen self-assigned this May 24, 2023
@gvdongen gvdongen added this to the 1A milestone May 24, 2023
@gvdongen gvdongen merged commit 637c4f7 into main May 24, 2023
@gvdongen gvdongen deleted the issue#67 branch May 24, 2023 11:41
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.

Get and set state do not handle 0 and "" correctly

2 participants