Skip to content

Conversation

@axe312ger
Copy link
Collaborator

@axe312ger axe312ger commented Nov 20, 2025

In the current state of the new-beta branch, typescript projects using the new beta would complain about the missing dependency, as it won't be installed there as a devDependency.

I chose in my variant to include it simply as a regular dependency and continue, but I felt now it might be better to include that one type we use everywhere in our own project, avoiding having this dependency + types completely.

See: https://github.com/contentful/contentful-management.js/blob/beta/package.json#L81

Just a suggestion, but we need that type available for projects similar to https://github.com/axe312ger/contentful-compatibility-cda/tree/main/environments/node-ts-mjs

…tch as regualr dependency for typescript projects
@axe312ger axe312ger requested a review from a team as a code owner November 20, 2025 14:57
makeRequest: MakeRequestWithUserAgent
}

export type OpPatch = AddPatch | RemovePatch | ReplacePatch | MovePatch | CopyPatch | TestPatch
Copy link
Member

Choose a reason for hiding this comment

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

Just a nit:
By definition, a Patch Document is a list of Operations. Operations can have different Operation types. Operation can be mixed within a Patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants