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 api route #324

Merged
merged 100 commits into from
Aug 9, 2024
Merged

Add api route #324

merged 100 commits into from
Aug 9, 2024

Conversation

foyarash
Copy link
Collaborator

@foyarash foyarash commented May 29, 2024

Title

Migrate all server actions to an API route

Type of Change

  • New feature
  • Bug fix
  • Documentation update
  • Example update
  • Refactoring
  • Hotfix
  • Security patch
  • UI/UX improvement

Description

  • Remove all the server actions related props
  • Move every stuff related to data mutation into API routes
  • Export a new createAppHandler for App Router

Testing

  • Create entities
  • Update entities
  • Delete entities
  • Search entities in relationship search
  • Use custom actions

Impact

All the actions are not supported anymore.
A new API route file has to be created

Copy link

changeset-bot bot commented May 29, 2024

🦋 Changeset detected

Latest commit: 6137d60

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@premieroctet/next-admin Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@cregourd cregourd changed the title feat: add api route Add api route Jun 24, 2024
@cregourd cregourd marked this pull request as ready for review June 25, 2024 11:59
@quentingrchr quentingrchr merged commit 7fea7dc into main Aug 9, 2024
3 checks passed
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.

3 participants