Skip to content
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

[5.x]: GraphQL introspection schema gets larger after merging entries #15557

Open
cornedor opened this issue Aug 19, 2024 · 1 comment
Open
Labels

Comments

@cornedor
Copy link
Contributor

What happened?

Description

Our GraphQL introspection schema is very big after upgrading. Since the merge tools are now available, I tried to merge two entries to see how much that would change the size. But instead of getting smaller, the schema increased in size.

Steps to reproduce

  1. Note the size of the introspection schema
  2. Merge two entries
  3. Note the size of the introspection schema

Expected behavior

Introspection schema reduces in size since there are fewer entries.

Actual behavior

Introspection schema size increases. For example, after merging 3 identical entries with 5 fields, from 40,83MB to 41,38MB

image

Craft CMS version

Craft Pro 5.3.4

PHP version

8.2.20

Operating system and version

Linux 6.5.0-44-generic

Database type and version

MySQL 8.0.36

Image driver and version

Imagick 3.7.0 (ImageMagick 6.9.11-60)

Installed plugins and versions

  • Feed Me 6.3.0
  • Redactor 4.1.0
  • Redactor Anchors 1.5.0
  • SEO v5.0.0-rc5
  • Super Table 4.0.2
  • Typed link field dev-main
  • Webhooks 3.1.0
@cornedor cornedor added the bug label Aug 19, 2024
@brandonkelly
Copy link
Member

That could maybe be expected if the persisting entry type has more fields than it used to, but definitely seems a little odd.

Can you please send your Composer files and config/project/ folder into [email protected] so we can look into this with your project config?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants