Skip to content

Conversation

ndr-brt
Copy link
Collaborator

@ndr-brt ndr-brt commented Dec 6, 2024

What

provides extensibility capabilities to the client, by introducing the EdcResource abstract class.
By extending it, a constructor that gets a EdcContext instance is passed. That one contains all the services that could be useful (http client, object mapper, urls...).

Why

It would be useful to cover custom extensions

Notes

I didn't use the "service" term currently used in the package name because I think that's too vague, while "resource" better represent the point of view of a RESTful API.

This PR solves a single task in #174, other PRs will come.

Part of #174

Added @fdionisi as optional reviewer as he already implemented similar functionality in the TS client

@ndr-brt ndr-brt added the enhancement New feature or request label Dec 6, 2024
Copy link
Member

@fdionisi fdionisi left a comment

Choose a reason for hiding this comment

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

Looking generally good but I have a question, probably more related to Java itself.

@ndr-brt ndr-brt force-pushed the 174-provide-extensibility branch 2 times, most recently from 8030d3d to e89b2ef Compare December 10, 2024 15:16
@ndr-brt ndr-brt force-pushed the 174-provide-extensibility branch from e89b2ef to 8036957 Compare December 16, 2024 08:01
@ndr-brt ndr-brt merged commit c335652 into main Dec 16, 2024
1 check passed
@ndr-brt ndr-brt deleted the 174-provide-extensibility branch December 16, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants