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

Add missing type coercion in computed procedure field #409

Merged
merged 13 commits into from
Mar 26, 2017
Merged

Conversation

calebmer
Copy link
Collaborator

Fixes #390

This PR builds off of #408 because I wanted the tests to be faster as I fixed this issue 😊

Here is the diff that actually fixes the issue: 0297398

Specifically this line: 0297398#diff-68e6e47f66f4641b59bfbd00beff36acR62

When doing the types refactor I forgot to add a coercion at that point from the Postgres value to the internal PostGraphQL value 😣. This PR makes sure that coercion happens. I’m surprised there was no test case for this, so a test case has also been added.

@calebmer calebmer mentioned this pull request Mar 26, 2017
Copy link
Member

@benjie benjie left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@benjie
Copy link
Member

benjie commented Mar 26, 2017

Merge when it passes CI

@calebmer calebmer merged commit 24cb295 into master Mar 26, 2017
@calebmer calebmer deleted the fix/390 branch March 26, 2017 19:16
Belline pushed a commit to Belline/postgraphql that referenced this pull request Dec 18, 2017
…ld (graphile#409)

* run all of the integration tests in parallel

* move test utilities

* only introspect catalog once

* speed up some tests

* set a max workers count

* add a thing

* remove a thing to trigger build

* fix lint errors

* fix integration queries with different configurations

* only test Koa in versions of Node.js greater than 4

* fix values not getting properly coerced

* Update snapshots after merge
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.

3.0.0: error on custom functions
2 participants