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

PublicationSubcriber #22

Merged
merged 19 commits into from
May 31, 2024
Merged

Conversation

bbrands02
Copy link
Contributor

No description provided.

Copy link
Contributor

👋 @bbrands02
Thank you for raising your pull request.
Please make sure you have followed our contributing guidelines. We will review it as soon as possible. In the meanwhile make sure your PR checks the following boxes

  • Is based on an issue
  • Has been locally tested
  • Has been tested with the admin UI
  • Has been discussed with the development team in an open channel

*/
class PublicationSubscriber implements EventSubscriberInterface
{
const PUBLICATION_REFERENCE = 'https://openwoo.app/schemas/publication.schema.json';
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be declared public?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It isn't used by other services but if thats the preference it can be made public

Copy link
Contributor

Choose a reason for hiding this comment

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

I prefer private unless there is a reason to make it public

'data' => $validationErrors,
]
),
403
Copy link
Contributor

Choose a reason for hiding this comment

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

must be 400

@bbrands02 bbrands02 merged commit 7791f94 into main May 31, 2024
7 of 12 checks passed
@bbrands02 bbrands02 deleted the feature/WOO-141/publication-subscriber branch May 31, 2024 12:08
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.

4 participants