Skip to content

fix: reject invalid project numbers in constructor#186

Open
AysajanE wants to merge 1 commit into
gr2m:mainfrom
AysajanE:northset/M-176
Open

fix: reject invalid project numbers in constructor#186
AysajanE wants to merge 1 commit into
gr2m:mainfrom
AysajanE:northset/M-176

Conversation

@AysajanE

Copy link
Copy Markdown

Summary

Fail immediately with a helpful error when the project number is NaN instead of passing it to GraphQL.

Change

  • index.js
  • test/constructor.test.js

Checks

  • ./node_modules/.bin/ava test/constructor.test.js — passed in a network-isolated container.

Fixes #22


AI assistance was used; I reviewed and own this change.

Verification

Northset proof-of-pass receipt M-176
Contributor self-run; not maintainer verification.

Signed-off-by: Aysajan Eziz <aeziz@northset.ai>
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.

Throw helpful error when number option is invalid

1 participant