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

fix: add new missing properties mocks (id, is_master) #24

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

lihbr
Copy link
Member

@lihbr lihbr commented Sep 2, 2024

Resolves:

Description

Asset mocks (image & link to media) are missing the now mandatory id property.
Somehow, rich text image nodes implemented it already, so I guess it was something we forgot to update because of casting: ca0b3da#diff-7c8caca1f8c362b6daf78fe210da74d78b8986913869c79c8078ef3697cabc6d, hence marking this PR as a fix (will squash'n'merge).

Similarly, repository mocks were missing the now mandatory is_master boolean.

Checklist

  • If my changes require tests, I added them.
  • If my changes affect backward compatibility, it has been discussed.
  • If my changes require an update to the CONTRIBUTING.md guide, I updated it.

Preview

How to QA 1

Footnotes

  1. Please use these labels when submitting a review:
    ❓ #ask: Ask a question.
    💡 #idea: Suggest an idea.
    ⚠️ #issue: Strongly suggest a change.
    🎉 #nice: Share a compliment.

Copy link

github-actions bot commented Sep 2, 2024

size-limit report 📦

Path Size
dist/index.js 11.04 KB (+0.16% 🔺)
dist/index.cjs 14.3 KB (-0.45% 🔽)

@lihbr lihbr changed the title frix: add missing id in asset mocks fix: add missing id in asset mocks Sep 3, 2024
@lihbr lihbr changed the title fix: add missing id in asset mocks fix: add new missing properties mocks (id, is_master) Sep 3, 2024
Copy link
Member

@angeloashmore angeloashmore left a comment

Choose a reason for hiding this comment

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

LGTM! 🎉 Feel free to merge and release.

@lihbr lihbr merged commit 162a348 into main Sep 4, 2024
2 checks passed
@lihbr lihbr deleted the lh/feat-update-asset-mocks branch September 4, 2024 09:15
@lihbr lihbr mentioned this pull request Sep 5, 2024
3 tasks
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