Skip to content

Commit

Permalink
v0.2.1 - timex to test dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Laura Williams committed Jun 5, 2017
1 parent 4fb962a commit ca9c6e2
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 9 deletions.
19 changes: 14 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
v0.1.0 (2017-06-03)

### Initial Release
v0.2.1 (2017-06-04)

* Support for single object mutations
### BugFixes

* convert Timex to a test only dependency
* Various doc improvements + typo fixes

v0.2.0 (2017-06-04)

### Enhancements

* Remove inflex as a dependancy
* Remove inflex as a dependency
* Match %ValidationMessage as an error payload without an error tuple
* Various doc improvments + typo fixes
* Various doc improvements + typo fixes
* Published to Hex.pm


v0.1.0 (2017-06-03)

### Initial Release

* Support for single object mutations
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Install by adding `kronky` to your list of dependencies in `mix.exs`:

```elixir
def deps do
[{:kronky, "~> 0.2.0"}]
[{:kronky, "~> 0.2.1"}]
end
```

Expand All @@ -27,7 +27,7 @@ Here's a quick summary of what Kronky includes

Kronky includes a [schema](https://hexdocs.pm/kronky/Kronky.ValidationMessageTypes.html#content) definition to add ValidationMessages to your schema.

[Kronky.Payload](https://hexdocs.pm/kronky/Kronky.Payload.html#content) is middleware that takes your resolver output (either an updated object or a changeset with errors) and converts into a Kronky Mutation Response (aka Payload).
[Kronky.Payload](https://hexdocs.pm/kronky/Kronky.Payload.html#content) is middleware that takes your resolver output (either an updated object or a changeset with errors) and converts it into a Kronky Mutation Response (aka Payload).

Payloads have three fields

Expand Down
2 changes: 1 addition & 1 deletion lib/kronky/payload.ex
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ defmodule Kronky.Payload do
## Examples
iex> success_paylaod(%User{first_name: "Stich", last_name: "Pelekai", id: 626})
iex> success_payload(%User{first_name: "Stich", last_name: "Pelekai", id: 626})
%Payload{successful: true, result: %User{first_name: "Stich", last_name: "Pelekai", id: 626}}
## Usage
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defmodule Kronky.Mixfile do
use Mix.Project

@version "0.2.0"
@version "0.2.1"

def project do
[
Expand Down

0 comments on commit ca9c6e2

Please sign in to comment.