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 object type to object info response #1556

Merged
merged 3 commits into from
Apr 25, 2022

Conversation

patrickkuo
Copy link
Contributor

Added object type to object info response for sui_getObjectTypedInfo endpoint.

@patrickkuo patrickkuo requested review from 666lcz, apburnie and awelc April 23, 2022 10:27
Copy link
Contributor

@666lcz 666lcz left a comment

Choose a reason for hiding this comment

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

Do you mind updating

export type ObjectExistsInfo = {
objectRef: ObjectRef,
object: any,
};
as well?

@lxfind
Copy link
Contributor

lxfind commented Apr 23, 2022

Given that this goes to the wire, should we use enum instead of a string?

@patrickkuo patrickkuo force-pushed the pat/add_object_type_to_object_info branch from 46c097c to 4522f0c Compare April 24, 2022 14:26
@patrickkuo
Copy link
Contributor Author

Do you mind updating

export type ObjectExistsInfo = {
objectRef: ObjectRef,
object: any,
};

as well?

@666lcz I don't really know typescript, can you check if the changes looks ok?

@patrickkuo patrickkuo requested a review from 666lcz April 25, 2022 11:15
@patrickkuo
Copy link
Contributor Author

@666lcz does this PR looks ok to you?

@patrickkuo patrickkuo merged commit 69fa607 into main Apr 25, 2022
@patrickkuo patrickkuo deleted the pat/add_object_type_to_object_info branch April 25, 2022 16:11
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.

4 participants