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

[RPC API Deprecation] - Remove get_objects_owned_by_object from JSON-RPC APIs #6372

Closed
patrickkuo opened this issue Nov 24, 2022 · 1 comment · Fixed by #8138
Closed

[RPC API Deprecation] - Remove get_objects_owned_by_object from JSON-RPC APIs #6372

patrickkuo opened this issue Nov 24, 2022 · 1 comment · Fixed by #8138

Comments

@patrickkuo
Copy link
Contributor

get_objects_owned_by_object is deprecated and will be replaced by get_dynamic_fields

@patrickkuo patrickkuo added devx rpc good first issue Small issues that are useful to get used to the codebase labels Nov 24, 2022
@exalate-issue-sync exalate-issue-sync bot added good_first_issue and removed good first issue Small issues that are useful to get used to the codebase labels Nov 25, 2022
@teohaik
Copy link
Contributor

teohaik commented Nov 28, 2022

What about this invocation? @patrickkuo @siomari

function OwnedObjectAPI({ id, byAddress }: { id: string; byAddress: boolean }) {
....

    useEffect(() => {
        setIsFail(false);
        setIsLoaded(false);
        const req = byAddress
            ? rpc.getObjectsOwnedByAddress(id)
            **`: rpc.getObjectsOwnedByObject(id);`**

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

Successfully merging a pull request may close this issue.

3 participants