Skip to content

Conversation

@nclsndr
Copy link
Contributor

@nclsndr nclsndr commented Oct 28, 2025

What does it do?

Add support for single-type based plugin based on pattern introduced in #98 and extended in #104

Why is it needed?

This feat is mostly to align client.collection and client.single APIs

How to test it?

Unfortunately, no actual use cases are currently defined

Related issue(s)/PR(s)

Follows #98
Follows #104

@nclsndr nclsndr self-assigned this Oct 28, 2025
@nclsndr nclsndr added the pr: feature New or updates to features label Oct 28, 2025
@nclsndr nclsndr requested a review from Convly October 28, 2025 15:47
Comment on lines +25 to +30
// Currently no well-known single-types with special API contracts
// Example structure if needed in the future:
// '[some-single-type]': {
// plugin: { name: '[plugin-name]', prefix: '[plugin-prefix]' },
// wrapsData: false,
// },
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I couldn't come up with any use case here. Ideas?

Copy link
Contributor

Choose a reason for hiding this comment

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

There are none that I know of

Copy link
Contributor

Choose a reason for hiding this comment

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

Me either; pInging @Convly in case he's aware of any :)

Comment on lines +25 to +30
// Currently no well-known single-types with special API contracts
// Example structure if needed in the future:
// '[some-single-type]': {
// plugin: { name: '[plugin-name]', prefix: '[plugin-prefix]' },
// wrapsData: false,
// },
Copy link
Contributor

Choose a reason for hiding this comment

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

Me either; pInging @Convly in case he's aware of any :)

@nclsndr nclsndr merged commit e3746af into main Oct 31, 2025
7 checks passed
@nclsndr nclsndr deleted the feat/single-types-plugin branch October 31, 2025 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr: feature New or updates to features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants