Skip to content

Comments

Add Building Extensions documentation section to README#10

Merged
afuno merged 3 commits intomainfrom
feature/SRV-413/readme
Feb 15, 2026
Merged

Add Building Extensions documentation section to README#10
afuno merged 3 commits intomainfrom
feature/SRV-413/readme

Conversation

@afuno
Copy link
Member

@afuno afuno commented Feb 15, 2026

No description provided.

- Introduce a comprehensive guide for creating and utilizing extensions.
- Detail the process of defining, registering, and using extensions with concise Ruby code examples.
- Highlight the flexibility of extensions for lifecycle hooks like authorization.
- Emphasize deep-copying of settings and independent configuration in subclasses.
- Split `ClassMethods` and `InstanceMethods` into separate modules to ensure clearer separation of concerns.
- Update `self.included` to include the newly added modules for better modularity.
- Adjust `call(...)` method to hook into the chain via `InstanceMethods` using `super`.
- Lay groundwork for extending the implementation as the extension grows.
- Update README to refine explanation of `InstanceMethods` behavior.
- Specify that `InstanceMethods` overrides the orchestrator method (`call`) and delegates via `super`.
- Reinforce the recommendation to split `ClassMethods` and `InstanceMethods` into separate files for maintainability.
@afuno afuno added this to the v0.x milestone Feb 15, 2026
@afuno afuno self-assigned this Feb 15, 2026
@afuno afuno marked this pull request as ready for review February 15, 2026 16:33
@afuno afuno merged commit 9f88212 into main Feb 15, 2026
35 checks passed
@afuno afuno deleted the feature/SRV-413/readme branch February 15, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant