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

feat: add setDocument(document) API function #11

Merged
merged 2 commits into from
Dec 4, 2023

Conversation

aloisklink
Copy link
Contributor

Draft PR: This PR is stacked on top of:

Please change this PR to target main once #10 has been merged.

Add the setDocument(document) API function to update a diagram.

There's some weird behaviour with this API route. It seems to always return a HTTP 200 success result with an empty JSON {} object, even when I send it invalid data and I can see an error message in the server logs, I've made a bug (MC-1060) for this behaviour.

image

This function currently never returns an error due to a bug on the
server, see MC-1060.
@aloisklink aloisklink added the enhancement New feature or request label Nov 24, 2023
Copy link

vercel bot commented Nov 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
office-plugin-site ⬜️ Ignored (Inspect) Nov 24, 2023 3:35pm

Base automatically changed from feat/add-deleteDocument-to-sdk to main December 4, 2023 08:48
@aloisklink aloisklink marked this pull request as ready for review December 4, 2023 08:54
@aloisklink aloisklink merged commit cd5f294 into main Dec 4, 2023
@aloisklink aloisklink deleted the feat/add-setDocument-to-sdk branch December 4, 2023 08:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants