"it's impossible to ignore the meteoric rise that GraphQL has been on in the last year or so. Its benefits are immense yet in the Ember community, it is an niche addon at best, and a joke at worst."https://twitter.com/andrewcallahan/status/992101145907728384 …
-
-
Strong confirm on
@chriskrycho (et al)'s amazing work. I mention elsewhere though that TS doesn't compete with another feature/claim that Ember offers, but merely fills a void. I believe there's maybe a messaging issue that discourages folk from seriously investigating GQL. -
If all that's needed is permission, people hereby have my permission to explore GraphQL in Ember apps. And please do report back on what worked well (and what grated against Ember) so we can continue to improve Ember for everyone.
-
Having built a bunch of Ember apps with GraphQL, I think the biggest difficulty has been integrating libraries like apollo-client and related packages seamlessly. Now there’s ember-apollo-client for that so that's a lot easier.
-
That said, I think the work being done to import npm packages more easily in apps is gonna open up experimentations outside of Ember’s conventions a lot.
-
I think that supporting nom packages natively is one of the highest leverage things Ember can do. Curious: did you try Ember Browserify?
-
I did, it works well for certain packages but the apollo-client toolset makes heavy use of named exports and ember-browserify doesn't support them...
-
Interesting. Can you say more about what exactly failed?
-
Imports like `import {InMemoryCache} from 'apollo-cache-inmemory';` didn’t work. We ran into this problem only when we wanted to adopt apollo 2.0 and ember-apollo-client was still on 1.0. I ended up creating this addonhttps://www.npmjs.com/package/ember-cli-webpack-imports …
- 13 more replies
New conversation -
-
-
Part of this is that Ember Data is seen as The One True Way, which makes GraphQL unconventional which implies a heavy price on usage. Alternative data layers like GraphQL and Orbit need to be treated as first-class citizens
-
Apollo, orbit, and ember-data are not as different as folks seem to think. They solve very similar problems in very similar ways. It’s important to decouple thinking about the client-lib from the API spec.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.