-
Notifications
You must be signed in to change notification settings - Fork 10.3k
CTF-next: locale per context (DRAFT) #31521
New issue
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
base: feat/contentful-schema-generation
Are you sure you want to change the base?
CTF-next: locale per context (DRAFT) #31521
Conversation
4656166 to
61f846c
Compare
61f846c to
a5ddad2
Compare
849e5a3 to
05324da
Compare
4f7e213 to
3a03727
Compare
380d85b to
c342248
Compare
cccee87 to
b63e42c
Compare
b63e42c to
1ba56ad
Compare
|
Note to myself: The rename of |
5ce5b86 to
a5715aa
Compare
a5715aa to
6086c52
Compare
5f3248b to
607af74
Compare
| // } | ||
| // @todo we need to figure out the querys locale | ||
|
|
||
| if (args.locale) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@todo when using GraphQL filters, the locale arg isn't supported yet
| }) | ||
| .external(validateContentfulAccess) | ||
|
|
||
| exports.pluginOptionsSchema = pluginOptionsSchema |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@todo es-module syntax!
This reverts commit 8d94396.
Also: * test: add unit tests for schema customization * fix: rich text inline rendering * test: update e2e test schema dump
ddc5f0a to
6609fd2
Compare
c0a8627 to
d92be35
Compare
| `id`, | ||
| `internal`, | ||
| `parent`, | ||
| ] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change should be part of #30855
351d89e to
ef6b579
Compare
776a15e to
bf32fae
Compare
c3fc6da to
8aa8f20
Compare
8aa8f20 to
7ea4514
Compare
|
The relevant changes of this PR are here: d92be35 |
The current plugin creates a node for every translation you have for each entry. This leads to DB bloat, especially if you content is only partly translated.
This is part of #31385, the code yet still needs cleanup.
This change will:
ToDos