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

Add some more minor fix to the proposal's websocket specs #280

Merged
merged 4 commits into from
Mar 11, 2019

Conversation

hoanhan101
Copy link
Contributor

This fix some minor issues with read and write data event and update the response scheme for consistency.

Copy link
Contributor

@edaniszewski edaniszewski left a comment

Choose a reason for hiding this comment

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

Looks good! Some good updates here, thanks!

Only made one note around naming - its not something I feel super strongly about, so I'll leave it up to you to make the final call on it

"transaction": "56a32eba-1aa6-4868-84ee-fe01af8b2e6d"
}
]
}
Copy link
Contributor

Choose a reason for hiding this comment

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

+1 -- this is cleaner and better reflects how the HTTP API operates.

my only suggestion would be to rename the inner data to something else (maybe payload?) just so we don't have something like response['data']['data'] which is fine, but not necessarily clear if someone is reading through the code

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh yeah totally. I think payload is a good one.

@hoanhan101 hoanhan101 merged commit 447d3f1 into v3/staging Mar 11, 2019
@hoanhan101 hoanhan101 deleted the ws-fix-1 branch March 11, 2019 12:53
edaniszewski pushed a commit that referenced this pull request Mar 27, 2020
* Add som to read device event

* Fix write data scheme

* Update response scheme for consistency

* Rename request post data
edaniszewski pushed a commit that referenced this pull request Mar 30, 2020
* Add som to read device event

* Fix write data scheme

* Update response scheme for consistency

* Rename request post data
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.

2 participants