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

Version 2.1.0 (Stable) #54

Merged
merged 5 commits into from
Feb 27, 2019
Merged

Version 2.1.0 (Stable) #54

merged 5 commits into from
Feb 27, 2019

Conversation

acro5piano
Copy link
Owner

I am really excited to release version 2.1.0, the first stable version of typed-graphqlify!

Thank you @luvies and all contributors! Your help have been greatly accelerating the development of this library!

I changed the API simpler, as #53 #51 #47 were merged.

Version 2.1.0 contains the following breaking changes:

query, mutation, subscription are now top-level export

Before:

import { graphqlify } from `typed-graphqlify`

graphqlify.query( //...

After:

import { query } from `typed-graphqlify`

query( //...

params helper

Before:

import { graphqlify, query } from `typed-graphqlify`

graphqlify.query({
  __params: { $input: 'UpdateUserInput' },
  updateUser: {
    __params: { input: $input },
   // ...
})

After:

import { params, query } from `typed-graphqlify`

query(params({ $input: 'UpdateUserInput' }, {
  updateUser: params({ input: $input }, {
   // ...
  }),
})

README.md Show resolved Hide resolved
Copy link
Collaborator

@luvies luvies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@YardWill
Copy link
Contributor

The API looks Great!

@acro5piano
Copy link
Owner Author

Thank you for your comments!

@acro5piano acro5piano merged commit 2e8fa5f into master Feb 27, 2019
@acro5piano acro5piano deleted the acro5piano/toplevel branch March 7, 2019 07:30
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

Successfully merging this pull request may close these issues.

None yet

3 participants