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

Typescript workflow return data is not set properly #982

Closed
mastersilv3r opened this issue Feb 28, 2024 · 0 comments
Closed

Typescript workflow return data is not set properly #982

mastersilv3r opened this issue Feb 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working current current sprint

Comments

@mastersilv3r
Copy link
Contributor

Version Information

Latest and also v2-dev

Current Behavior

Typescript function's return GSStatus is being ignored. Only the success: true is being returned.

Expected Behavior

Whatever GSStatus is returned by TS function should get reused. If it returns any object with a code or success it will be considered to be a GSStatus, and data, message and headers will be looked into. If does not have code or success, it is assumed to be a normal data.

Steps to Reproduce

Screenshots or Screencast

Logs or Traces

Possible Solutions or Workarounds

@mastersilv3r mastersilv3r added bug Something isn't working current current sprint labels Feb 28, 2024
@mastersilv3r mastersilv3r self-assigned this Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working current current sprint
Projects
None yet
Development

No branches or pull requests

2 participants