Shape classes to surface the public and internal contracts#26
Conversation
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (36)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Mark the bundle's public API surface with
@apiand everything else with@internal, ahead of tagging 1.0.0. Tag-only change — no code or behavior is touched.Public API surface (
@api, 10 items)StixxOpenApiCommandBundleAttribute\CommandObjectException\ApiProblemExceptionException\ExceptionToApiProblemTransformerInterfaceResponder\ResponderInterfaceResponse\StatusResolverInterfaceValidator\ValidatorInterfaceModel\ProblemDetailsModel\ProblemDetailsInvalidRequestBodyModel\ViolationEverything else in
src/(controllers, DI extension/compiler passes, subscribers, route loaders/descriptors, normalizers, internal validator/responder chains, default implementations of the@apiinterfaces, the messenger unwrapper helper) is marked@internal.What this commits us to
After 1.0:
@apiis BC-protected. Breaking it requires a major version bump.@internalcan change in any release without notice.Default implementations like
JsonResponder,DefaultExceptionToApiProblemTransformer,RequestValidatorare intentionally@internal— users replace them via the@apiinterfaces, not by extending the implementations.Test plan
composer test— 181 tests passcomposer phpstan— cleancomposer cs-fixer --dry-run— clean