-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
1.0 Countdown #464
Comments
This is exciting! I just deployed our first Apollo app in production today, and overall I'm really impressed with where things are. Here's my list of issues that felt important to prioritize for a 1.0:
Ok hope that's helpful, and thank you all again for all the incredible work you are doing! |
Basically what @saikat wrote + file upload. 1.0 simply needs that. |
@saikat great feedback, thanks! Really appreciate it. Going to look at all the items, but for
I think this is best solved by looking at a variety if different use cases and seeing how it works out. Personally I like the idea that query names are meaningful, and you can keep track of which queries are live on the page and update them accordingly. This is better for me than keeping track of the normalized store state and dealing with it directly, but of course we can support both approaches. @HriBB GraphQL itself doesn't have anything to say about file upload, and there are often many concerns with file upload related to tracking upload progress, etc. If Apollo Client is focused on providing a great GraphQL experience, then file upload isn't really part of that story. What kind of functionality would you be looking for? |
@stubailo I was trying to do a Anyway ... what is the official recommendation? Upload files via custom endpoint, then merge results into apollo store manually? Or refetch the data manually? I have seen some examples on express-graphql but haven't had the time to check it out ... I understand that file upload has nothing to do with the GraphQL, but at least point us into the right direction :) How would you implement that? |
I think I would upload the file using a completely separate Express endpoint, and then when the upload is done fetch data about the file using GraphQL. Is that good enough, or is there some problem with that approach? |
@stubailo this is exactly how I imagined it. No problems with this approach, I just thought that it would be cool to keep everything "inside" GraphQL, if you know what I mean :) Just wondering ... will file upload ever be a part of GraphQL, or is this just something that really does not belong in the GQL? |
I'm not sure! I don't actually see a lot of benefits in doing file upload through GraphQL, but I'm open to ideas about how it could work. |
Any updates on this? Given the features/refactoring you mentioned, what would be your best-case and worst-case time estimates to reach 1.0? |
Gentle ping in case you have some ETA in mind now :) |
Well, it sure would be convenient for us if it lined up with http://graphqlsummit.com/ 😉 I think that can be used as a rough timeline. |
Apollo Client 0.5 New features and improvements to make GraphQL even easier
To me, that means version 1.0 :-/. Regardless, congratulations for coming so far and accomplishing so much! I'm just dipping my toe, but am so happy there's an alternative to Relay. |
Yeah, I am pretty sure the difference between 0.5 and 1.0 won't be very big externally. It's more about making sure we go through edge cases like error handling, carefully deprecate old APIs, etc. 1.0 is about committing to API backwards compatibility until 2.0. But I agree it's mostly a cosmetic distinction. |
Hello, any news on this ? 1.0 is still not here and I am not willing to commit to Apollo too much until 1.0 comes, as I have been burnt by incompatible changes on Apollo client before... |
For uploads: HriBB/apollo-upload-network-interface#5 (comment) |
@crubier usually upgrading is pretty simple. I've been upgrading almost non stop since 0.4, and I haven't ever encountered a breaking change that wasn't listed in the [change log[(https://github.com/apollographql/apollo-client/blob/master/CHANGELOG.md). There has almost always been enough information in the change log to modify my code within 5 or 10 minutes and get it working again. Otherwise, it takes under an hour talking to the core contribs on Slack :) |
1.0 is out. |
When we started working on Apollo Client, we wrote up a design document that outlined all of the features we need for an initial production-ready version.
At this point we have working implementations of most of these features. We want to ship a "1.0" release in a reasonable timeframe to signal that people should be confident relying on Apollo Client in production, and that the APIs will remain stable for a long time.
Before we can do this, we need to identify and fix any critical problems that would block people from using it in their production GraphQL app.
Here's the list of features/fixes/etc. we think we absolutely need for the 1.0 release:
updateQueries
works on mutation results)QueryManager.ts
to make it less complexnetworkInterface
resetStore
is a valid cache eviction strategyThese are the improvements @stubailo and I thought of that are currently standing between us and a 1.0 release. If you have a particular issue that is preventing you from using Apollo in production, we'd be happy to hear about it, and perhaps add it to the list.
As always, we want Apollo Client to be a community-driven effort, so if you have the need for a feature that is not in the list above, and there is a good design and pull request implemented, we can still accept it. This is just to have a complete list of "blockers" before we consider the library stable.
The text was updated successfully, but these errors were encountered: