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(composables): handle single types #310

Merged
merged 3 commits into from
Jan 19, 2023
Merged

fix(composables): handle single types #310

merged 3 commits into from
Jan 19, 2023

Conversation

benjamincanac
Copy link
Member

Support single types on findOne, update and delete methods for strapi v3 and v4 by making the id parameter optional.

Types of changes

  • Bug fix (a non-breaking change which fixes an issue)
  • New feature (a non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Resolves #287

Checklist:

  • I have updated the documentation accordingly.

@nuxt-studio-dev
Copy link

nuxt-studio-dev bot commented Jan 19, 2023

Deploy Preview for strapi ready!

Name Link
🔨 Latest commit 90103ff
😎 Deploy Preview https://strapi.nuxtjs.org?preview=390f5469416cdef306cd3eaf0b607fd1

@benjamincanac benjamincanac merged commit ca5b358 into dev Jan 19, 2023
@benjamincanac benjamincanac deleted the single-types branch January 19, 2023 14:07
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.

Problem accessing single types
1 participant