Skip to content

fix: sample-queries.txt uses incorrect root field name 'bundles' instead of 'olmbundles' #2726

@coderabbitai

Description

@coderabbitai

Summary

The file internal/catalogd/graphql/sample-queries.txt contains several GraphQL query examples that reference the root field name bundles, but the dynamic schema generator derives the field name from the schema name (olm.bundleolmbundles). As written, those sample queries will fail for users.

Affected lines (approx.)

  • Line 82: bundles(limit: 5) {
  • Line 121: bundles(limit: 20) {
  • Line 145: bundles(limit: 10) {
  • Line 163: bundles(limit: 10) {

Suggested fix

Replace all occurrences of bundles( with olmbundles( in internal/catalogd/graphql/sample-queries.txt.

References

Reported by @grokspawn.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions