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

Node: Add command JSON.RESP #2517

Merged
merged 6 commits into from
Oct 28, 2024
Merged

Node: Add command JSON.RESP #2517

merged 6 commits into from
Oct 28, 2024

Conversation

tjzhang-BQ
Copy link
Collaborator

@tjzhang-BQ tjzhang-BQ commented Oct 24, 2024

Issue link

This Pull Request is linked to issue (URL): #2375

Checklist

Before submitting the PR make sure the following are checked:

  • This Pull Request is related to one issue.
  • Commit message has a detailed description of what changed and why.
  • Tests are added or updated.
  • CHANGELOG.md and documentation files are updated.
  • Destination branch is correct - main or release
  • Commits will be squashed upon merging.

@tjzhang-BQ tjzhang-BQ added the node Node.js wrapper label Oct 24, 2024
@tjzhang-BQ tjzhang-BQ marked this pull request as ready for review October 24, 2024 23:26
@tjzhang-BQ tjzhang-BQ requested a review from a team as a code owner October 24, 2024 23:26
TJ Zhang added 5 commits October 25, 2024 14:46
Signed-off-by: TJ Zhang <tj.zhang@improving.com>
Signed-off-by: TJ Zhang <tj.zhang@improving.com>
Signed-off-by: TJ Zhang <tj.zhang@improving.com>
Signed-off-by: TJ Zhang <tj.zhang@improving.com>
Signed-off-by: TJ Zhang <tj.zhang@improving.com>
Copy link
Collaborator

@jamesx-improving jamesx-improving left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>
@tjzhang-BQ tjzhang-BQ merged commit 01308db into release-1.2 Oct 28, 2024
16 checks passed
@tjzhang-BQ tjzhang-BQ deleted the node/tjz-jsonresp branch October 28, 2024 21:33
client: BaseClient,
key: GlideString,
options?: { path: GlideString },
): Promise<ReturnTypeJson<GlideString>> {
Copy link
Collaborator

Choose a reason for hiding this comment

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

why is it returning GlideString? the command returns way more than just string, plus we introduced a new return type in #2451
resp is what I call a "universal" commands, can be applied to all types, therefor, ReturnTypeJson is not suitable for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
node Node.js wrapper
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants