payload icon indicating copy to clipboard operation
payload copied to clipboard

Export of entityToJSONSchema broken

Open teunmooij opened this issue 3 years ago • 5 comments

Link to reproduction

none

To Reproduce

Just look closely at the src/utilities/configToJSONSchema.ts file to see that the entityToJSONSchema is not exported.

Describe the Bug

entityToJSONSchema is explicitely exported from payload/utilities. In a recent change due to an internal refactor, configToJSONSchema was moved to the same module and entityToJSONSchema is no longer exported from the module.

Payload Version

1.10

teunmooij avatar Jun 22 '23 19:06 teunmooij

@teunmooij I see what you mean, I'm on it!

jacobsfletch avatar Jun 22 '23 20:06 jacobsfletch

@jacobsfletch , thanks. I've already created a PR. See https://github.com/payloadcms/payload/pull/2894

teunmooij avatar Jun 22 '23 20:06 teunmooij

Aha, very good! I'll get that merged up and it'll go out in the next release 🙌

jacobsfletch avatar Jun 22 '23 20:06 jacobsfletch

Awesome stuff, thank you both @teunmooij and @jacobsfletch for the rapid response ❤️

TopHatCroat avatar Jun 23 '23 15:06 TopHatCroat

This issue has been automatically locked. Please open a new issue if this issue persists with any additional detail.

github-actions[bot] avatar Sep 07 '24 20:09 github-actions[bot]