Skip to content

Conversation

@baarde
Copy link
Contributor

@baarde baarde commented Feb 15, 2019

This fixes #122.

@tanner0101 tanner0101 added the bug Something isn't working label Feb 16, 2019
Copy link
Member

@tanner0101 tanner0101 left a comment

Choose a reason for hiding this comment

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

Great change, thank you. This is a much better approach.

print(row)
}

func testRowCodableEmptyKeyed() throws {
Copy link
Member

Choose a reason for hiding this comment

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

Can you add this to the allTests array at the bottom of the file?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oops. I always forget allTests. Fixed.

…ner is requested

The encoder will fallback to JSONB using JSONEncoder even if the encoded type does not encode any key.
@tanner0101 tanner0101 merged commit d34cf72 into vapor:1 Feb 19, 2019
@tanner0101
Copy link
Member

Thanks :)

@penny-coin
Copy link

Hey @baarde, you just merged a pull request, have a coin!

You now have 8 coins.

@baarde baarde deleted the fix-empty-keyed-encoding branch February 20, 2019 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants