Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-30325

Generated schema is not being used when vendor packages are symlinked

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: 2.5.0-rc2
    • Fix Version/s: 2.5.0
    • Component/s: Platform > GraphQL
    • Labels:
      None

      Description

      Previously compiler passes were relying on relative paths to access schema definitions generated in app/config/graphql/ezplatform directory. This wasn't really working when symlinks were used during development. I think symlinks are still the best method when working with multiple packages so I couldn't align on my side to overcome this issue.

      I have a proposal to move schema directories from constants to container parameters. It's more natural to me to store such information in the container which makes it accessible in services, extensions and compiler passes.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            maciej.kobus@ez.no Maciej Kobus
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: