We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey lovely payload people <3
Given fields:
{ name: 'section', localized: true, // <--- toggle here type: 'array', fields: [ { name: 'image', type: 'relationship', relationTo: 'media', }, ], }
The following join causes an error:
{ name: 'usedIn', type: 'join', collection: 'posts', on: 'section.image', }
Error:
InvalidFieldJoin: Invalid join field usedIn. The config does not have a field 'section.image' in collection 'posts'.
https://github.com/Xiphe/payload-join-localized-array/tree/localized-array-deep-join
pnpm i
pnpm test:int _community
localized: true
test/_community/collections/Posts/index.ts
Not sure
Sidenote: `pnpm payload info` produces ` ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command "payload" not found` Binaries: Node: 20.11.0 npm: 10.2.4 Yarn: N/A pnpm: 9.15.2 Relevant Packages: payload: 3.14.0 next: 15.1.3 @payloadcms/db-postgres: 3.14.0 @payloadcms/live-preview-react: 3.14.0 react: 19.0.0 react-dom: 19.0.0 Operating System: Platform: darwin Arch: arm64 Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:15 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6000 Available memory (MB): 32768 Available CPU cores: 10
The text was updated successfully, but these errors were encountered:
r1tsuu
Successfully merging a pull request may close this issue.
Describe the Bug
Hey lovely payload people <3
Given fields:
The following join causes an error:
Error:
Link to the code that reproduces this issue
https://github.com/Xiphe/payload-join-localized-array/tree/localized-array-deep-join
Reproduction Steps
https://github.com/Xiphe/payload-join-localized-array/tree/localized-array-deep-join
pnpm i
pnpm test:int _community
localized: true
fromtest/_community/collections/Posts/index.ts
pnpm test:int _community
Which area(s) are affected? (Select all that apply)
Not sure
Environment Info
The text was updated successfully, but these errors were encountered: