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

feature(mvp): Stage 4 add item and collection schemas to rest api #178

Merged
merged 14 commits into from Apr 21, 2023

Conversation

johnhooks
Copy link
Collaborator

@johnhooks johnhooks commented Mar 24, 2023

What?

Implement item and collection schemas for notification the rest-api. Initiate PR early to get feedback, still lots to figure out.

Starts work on #176 to create an update rest endpoint for notifications.

Fixes #194

Why?

The rest-api of notifications should implement item and collection schemas.

How?

It adds schemas that the WP_Rest_Controller can use to validate api requests.

Testing Instructions

Will need to do more research, but I'll be researching core tests and implement something similar.

@erikyo erikyo requested a review from Sephsekla March 26, 2023 17:04
@johnhooks johnhooks force-pushed the feature/add-update-endpoint branch 2 times, most recently from bc0178e to bb0d296 Compare March 27, 2023 11:07
@johnhooks
Copy link
Collaborator Author

@Sephsekla this is ready to review.

Note: I'm not trying to commit us to anything, but just start work toward an actual rest-api. If anything in this needs to be adjusted as we work to implement notifications, I am 100% on board to either make the changes or support anyone doing the work.

@johnhooks johnhooks added the [Scope] Service The core logic of the WP Notify project. label Mar 27, 2023
@johnhooks johnhooks force-pushed the feature/add-update-endpoint branch from 19b5817 to 075e454 Compare April 5, 2023 02:38
@johnhooks johnhooks requested a review from erikyo April 12, 2023 01:22
@johnhooks johnhooks marked this pull request as draft April 12, 2023 19:48
@johnhooks johnhooks mentioned this pull request Apr 12, 2023
38 tasks
@johnhooks
Copy link
Collaborator Author

Work on this is being continued in #259

@johnhooks johnhooks closed this Apr 19, 2023
@johnhooks johnhooks reopened this Apr 21, 2023
@johnhooks johnhooks changed the title feature: add item and collection schemas feature(mvp): Stage 4 add item and collection schemas to rest api Apr 21, 2023
@johnhooks johnhooks marked this pull request as ready for review April 21, 2023 04:30
Copy link
Collaborator

@erikyo erikyo left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@johnhooks johnhooks merged commit e1cf510 into WordPress:develop Apr 21, 2023
11 checks passed
@johnhooks johnhooks deleted the feature/add-update-endpoint branch April 21, 2023 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Scope] Service The core logic of the WP Notify project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change rest-api namespace to wp-notifications/v1
3 participants