Error: Discriminator with name "cta" already exists #9233
meshin-dev
started this conversation in
Feature Requests & Ideas
Replies: 3 comments
-
Payload config:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Page collection:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
this can also happen if you import the global collection twice, with different name like this import Settings from './globals/Settings'
import Settings2 from './globals/Settings2'
export default buildConfig({
globals: [Settings, Settings2],
} You can reproduce this by copying global twice with different name. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey guys
I have an issue with existing code base of demo 3.0 after updating from
v3.0.0-beta.125
tov3.0.0-beta.130
In
src/collections/Pages/index.ts
:Can you suggest how this can be fixed please?
It seems it tries to initialize models twice. If I exclude
CallToAction
from array it says the same aboutContent
blockI adjusted all the changes required in breaking changes section.
Thanks to everyone!
Beta Was this translation helpful? Give feedback.
All reactions