Skip to content

morpheus-graphql-client 0.14.0 #5602

Closed
morpheusgraphql/morpheus-graphql
#503
@alexeyzab

Description

@alexeyzab
--  While building package morpheus-graphql-client-0.14.0 using:
      /var/stackage/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_3.2.0.0_ghc-8.10.1 --builddir=.stack-work/dist/x86
_64-linux/Cabal-3.2.0.0 build lib:morpheus-graphql-client test:morpheus-client-test --ghc-options ""
    Process exited with code: ExitFailure 1
    Logs have been written to: /var/stackage/work/unpack-dir/.stack-work/logs/morpheus-graphql-client-0.14.0.log

    Configuring morpheus-graphql-client-0.14.0...
    Preprocessing library for morpheus-graphql-client-0.14.0..
    Building library for morpheus-graphql-client-0.14.0..
    Preprocessing test suite 'morpheus-client-test' for morpheus-graphql-client-0.14.0..
    Building test suite 'morpheus-client-test' for morpheus-graphql-client-0.14.0..
    [2 of 4] Compiling Case.Interface.Test

    /var/stackage/work/unpack-dir/unpacked/morpheus-graphql-client-0.14.0-eda099fda4ca4bbff634b0c096c37f36c809cc501abc6c50a8fc84
1f404d5290/test/Case/Interface/Test.hs:1:1: error:
        Exception when trying to run compile-time code:
          test/Case/Interface/schema.gql: openBinaryFile: does not exist (No such file or directory)
        Code: defineByDocumentFile
                (schemaUrl "Interface")
                ((((Data.Morpheus.Types.Internal.AST.GQLQuery
                      ((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.OrdMap.OrdMap
                          [])
                         (Data.HashMap.Internal.fromList [])))
                     ((((((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Selection.Operation
                             (GHC.Maybe.Just "MyQuery"))
                            morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Base.Query)
                           ((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.OrdMap.OrdMap
                               [])
                              (Data.HashMap.Internal.fromList [])))
                          (morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.MergeSet.MergeSet
                             [(((((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Selection.Selection
                                     "character")
                                    GHC.Maybe.Nothing)
                                   ((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Base.Position
                                       3)
                                      7))
                                  ((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.OrdMap.OrdMap
                                      [])
                                     (Data.HashMap.Internal.fromList [])))
                                 (morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Selection.SelectionSet
                                    (morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.MergeSet.MergeSet
                                       [(((((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Selection.Selection
                                               "name")
                                              GHC.Maybe.Nothing)
                                             ((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Base.Position
                                                 4)
                                                9))
                                            ((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.OrdMap.OrdMap
                                                ...)
                                               (Data.HashMap.Internal.fromList ...)))
                                           morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Selection.SelectionFiel
d)
                                          ...,
                                        ....])))
                                [],
                              (((((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Selection.Selection
                                     "character")
                                    (GHC.Maybe.Just "character2"))
                                   ((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Base.Position
                                       12)
                                      7))
                                  ((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.OrdMap.OrdMap
                                      [])
                                     (Data.HashMap.Internal.fromList [])))
                                 (morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Selection.SelectionSet
                                    (morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.MergeSet.MergeSet
                                       [(((((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Selection.Selection
                                               "name")
                                              (GHC.Maybe.Just "name1"))
                                             ((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Base.Position
                                                 13)
                                                9))
                                            ((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.OrdMap.OrdMap
                                                ...)
                                               (Data.HashMap.Internal.fromList ...)))
                                           morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Selection.SelectionFiel
d)
                                          ...,
                                        ....])))
                                [],
                             (((((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Selection.Selection
                                     "character")
                                    (GHC.Maybe.Just "character3"))
                                   ((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Base.Position
                                       17)
                                      7))
                                  ((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.OrdMap.OrdMap
                                      [])
                                     (Data.HashMap.Internal.fromList [])))
                                 (morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Selection.SelectionSet
                                    (morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.MergeSet.MergeSet
                                       [morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Selection.InlineFragment
                                          (((((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Selection.Fragment
                                                 "INLINE_FRAGMENT")
                                                "Hero")
                                               ((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Base.Position
                                                   18)
                                                  9))
                                              (morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.MergeSet.MergeSet
                                                 ...))
                                             ...),
                                        ....])))
                                [],
                             ....]))
                         ((morpheus-graphql-core-0.14.0:Data.Morpheus.Types.Internal.AST.Base.Position
                             2)
                            5))
                        []))
                    [],
                  "
        query MyQuery {
          character {
            name
            ... on Deity {
                  power
            }
            ... on Hero {
                  hoby
            }
          }
          character2: character {
            name1: name
            name
          }

          character3: character {
            ... on Hero {
                  hoby
            }
            ... on Character {
                  name2: name
            }
          }
          character4: character {
            ... on Hero {
                  hoby
            }
          }
        }
      "))
      |
    1 | {-# LANGUAGE DeriveGeneric #-}
      | ^

cc @nalchevanidze

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions