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

Error on history #2

Open
chmac opened this issue May 15, 2019 · 3 comments
Open

Error on history #2

chmac opened this issue May 15, 2019 · 3 comments

Comments

@chmac
Copy link
Contributor

chmac commented May 15, 2019

Tried looking at the history and got this:

Abstract type Message must resolve to an Object type at runtime for field Query.history with value "[object Object]", received "undefined". Either the Message type should provide a "resolveType" function or each possible types should provide an "isTypeOf" function."

Does the app run for you by default? I'm pointing it at a patchbay data set, so maybe you're using some test data that's different to what I have?

@chmac
Copy link
Contributor Author

chmac commented May 15, 2019

OK, looked into it a bit deeper. Looks like maybe you're in the process of moving from .graphql files into schemas defined in javascript, and that's only partially complete. Is that about right? Do you have the code somewhere that's not pushed? It's getting late here, I'll probably sign off for the night now, and look at maybe pushing this forward a bit tomorrow.

@chmac
Copy link
Contributor Author

chmac commented May 16, 2019

I eventually found a solution last night, I just switched everything to the DefaultMessage type and then I fixed some issue where some messages don't have a type. Working branch here.

@stanleyjones
Copy link
Owner

Hey, I really appreciate your involvement here. I haven't done much with this project for a while but I'll dust it off and see if I can remember where my head was at.

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

No branches or pull requests

2 participants