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

checkObject to support checking member #1811

Merged
merged 4 commits into from
Feb 2, 2024

Conversation

worksofliam
Copy link
Contributor

Changes

  • Adds member property to checkObject API, allowing us to check if members exist
  • Created a new toCl static method to generate the formatted CL commands. I'd like to move towards using this instead of hardcoding CL strings everywhere.
  • Tests for checkObject API uses

Checklist

  • have tested my change
  • updated relevant documentation
  • Remove any/all console.logs I added
  • eslint is not complaining
  • have added myself to the contributors' list in CONTRIBUTING.md
  • for feature PRs: PR only includes one feature enhancement.

@worksofliam worksofliam requested a review from a team January 30, 2024 04:47
@worksofliam worksofliam linked an issue Jan 30, 2024 that may be closed by this pull request
@worksofliam worksofliam changed the title Feature/check_object_member checkObject to support checking member Jan 30, 2024
Signed-off-by: Seb Julliand <sjulliand@arcadsoftware.com>
Signed-off-by: Seb Julliand <sjulliand@arcadsoftware.com>
Copy link
Collaborator

@sebjulliand sebjulliand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@worksofliam good one; toCl is a nice addition!
I pushed a few commits to fix what I think was a bug and add a test.
I'll let you cross-review it if you will. Then you can merge if you feel like it.

@worksofliam
Copy link
Contributor Author

@sebjulliand Even better! I love a good test case - thank you!

@worksofliam worksofliam merged commit ae417cb into master Feb 2, 2024
1 check passed
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.

checkObject API should also accept a member property
2 participants