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

morpheus-graphql-client 0.14.0 #5602

Closed
alexeyzab opened this issue Aug 15, 2020 · 1 comment · Fixed by morpheusgraphql/morpheus-graphql#503
Closed

morpheus-graphql-client 0.14.0 #5602

alexeyzab opened this issue Aug 15, 2020 · 1 comment · Fixed by morpheusgraphql/morpheus-graphql#503

Comments

@alexeyzab
Copy link
Contributor

--  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

@nalchevanidze
Copy link
Contributor

nalchevanidze commented Aug 16, 2020

i published release 0.14.1 where i added missing data files. so now it must work

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

Successfully merging a pull request may close this issue.

2 participants