Skip to content

Conversation

@calebkleveter
Copy link
Member

Allows data that is contained as the .name type to be accessed through the PostgresData.string property.

var buffer = ByteBufferAllocator().buffer(capacity: 13)
buffer.writeString("password_hash")

let data = PostgresData(.name, value: buffer)
let string = data.string

// string == "password_hash"

@calebkleveter calebkleveter added the bug Something isn't working label Feb 18, 2020
@calebkleveter calebkleveter self-assigned this Feb 18, 2020
@tanner0101
Copy link
Member

@calebkleveter would you mind updating the GH action for the fluent test to use vapor/swift:5.2?

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.

Thanks!

@calebkleveter calebkleveter merged commit 79da46b into master Feb 18, 2020
@tanner0101
Copy link
Member

These changes are now available in 1.0.0-beta.2.9

@calebkleveter calebkleveter deleted the name-to-string branch February 18, 2020 19:34
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.

2 participants