Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Sep 13, 2024

Summary

This trait is used by other apps for creating setup checks, so we should provide it instead apps using private API.
Note that I removed the runHead as this is just sugar but having it in OCP could make things in the future harder...

Checklist

@susnux susnux added enhancement 3. to review Waiting for reviews labels Sep 13, 2024
@susnux susnux added this to the Nextcloud 31 milestone Sep 13, 2024
@susnux
Copy link
Contributor Author

susnux commented Sep 14, 2024

BTW alternative I considered: Making this an abstract class to make class properties more clear.
But huge con: You can only inherit one, so that would not be extensible with others in the future.

I think a Trait is best fit here.

@come-nc come-nc requested a review from artonge September 14, 2024 19:01
Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

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

  • But please lets merge #48063 first as it needs a backport to 30

@nickvergessen
Copy link
Member

💥 The autoloaders are not up to date

…pCheck\CheckServerResponseTrait`

This trait is used by other apps for creating setup checks,
so we should provide it instead apps using private API.

Signed-off-by: Ferdinand Thiessen <[email protected]>
@nickvergessen nickvergessen force-pushed the feat/make-setup-check-trait-public branch from 8da2887 to 7fbd518 Compare September 16, 2024 12:58
@nickvergessen nickvergessen merged commit cc9c61d into master Sep 16, 2024
@nickvergessen nickvergessen deleted the feat/make-setup-check-trait-public branch September 16, 2024 13:33
@skjnldsv skjnldsv mentioned this pull request Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants