profile
viewpoint
Daniel Rice danrice-square Square, Inc. Atlanta, GA

square/javapoet 8509

A Java API for generating .java source files.

square/wire 3346

gRPC and protocol buffers for Android, Kotlin, and Java.

square/square.github.io 754

A simple, static portal which outlines our open source offerings.

square/protoparser 200

Java parser for .proto schema declarations.

square/squalor 185

Go SQL utility library

danrice-square/connect-java-sdk 1

Java client library for the Square Connect v2 API

danrice-square/connect-ruby-sdk 0

Ruby client library for the Square Connect APIs

danrice-square/danrice-square.github.io 0

Dan's Public Web Site

danrice-square/okio 0

A modern I/O API for Java

danrice-square/protobuf 0

Go support for Google's protocol buffers

delete branch square/wire

delete branch : jwilson-zhazira.1126.grpcmethod

delete time in a day

push eventsquare/wire

Jesse Wilson

commit sha 02057f846856579ec3d0459fceeed2360f6c9ea5

Add GrpcMethod tag to the request. (#1861) Co-authored-by: Zhazira Zhunussova <zhazira@squareup.com>

view details

push time in a day

push eventsquare/wire

Zhazira Zhunussova

commit sha ecfaa5865abbcbfccafce1ebee365b166a602381

Add GrpcMethod tag to the request.

view details

push time in a day

PR opened square/wire

Add GrpcMethod tag to the request.
+26 -4

0 comment

4 changed files

pr created time in a day

create barnchsquare/wire

branch : jwilson-zhazira.1126.grpcmethod

created branch time in a day

MemberEvent

PR opened square/wire

Use WireOutput for task property

Resolves #1859 by using WireOutput for the WireTask property and normalizing its path. I need to double check if String is valid for path normalizing though

+27 -7

0 comment

3 changed files

pr created time in a day

issue openedsquare/wire

WireTask uses non-normalized paths and breaks Gradle build caching

After doing some simple local build caching tests with the same project in multiple locations, build scans revealed that WireTask is not up to date when it should be due to using non-normalized paths in its transforms property

Namely - outDirectory

Output from a simple snippet to print it

tasks.withType<WireTask>().configureEach {
  doFirst { println(transforms) }
}
KotlinTarget(includes=[*], excludes=[], exclusive=true, outDirectory=/Users/zsweers/dev/slack/slack-android-ng/telemetry-definitions/build/generated/source/wire, android=false, javaInterop=false, emitDeclaredOptions=true, emitAppliedOptions=false, rpcCallStyle=SUSPENDING, rpcRole=CLIENT, singleMethodServices=false)

created time in 2 days

issue commentsquare/wire

Drop oneof with sealed classes

@swankjesse isn't the same true for swift enum also though? I believe that exhaustiveness benefits are far too good to discard. Isn't having the compiler guard you against proto z changes and not relying on runtime checks the whole point of having a contract in the first place?

Egorand

comment created time in 6 days

issue openedsquare/wire

Relocating proto files

Thanks for open sourcing wire-schema, which allows us to parse the proto files, but when we try to use it along with Protobuf core library, we found similar resource file (having proto files) in both the jar. Is it possible to relocate the proto files ? Do we use them in the runtime ?

created time in 7 days

push eventsquare/wire

cgarrett-square

commit sha de48be92aba5aa3d72645f88c9173ebccad865dc

Fixing up comments, typos, and syntax based on feedback on PR 1842 (Add option for how Swift ProtoDecoder handles unknown enum values). (#1857)

view details

push time in 10 days

delete branch square/wire

delete branch : cgarrett/nil-unknown-enum-touchups

delete time in 10 days

PR merged square/wire

Fixing up comments, typos, and syntax based from Swift Unknown Enums PR

I was unable to address some nits in the following PR, but still got permission to merge: https://github.com/square/wire/pull/1842. This PR addresses those issues.

+6 -7

0 comment

2 changed files

cgarrett-square

pr closed time in 10 days

PR opened square/wire

Fixing up comments, typos, and syntax based from Swift Unknown Enums PR

I was unable to address some nits in the following PR, but still got permission to merge: https://github.com/square/wire/pull/1842. This PR addresses those issues.

+6 -7

0 comment

2 changed files

pr created time in 11 days

create barnchsquare/wire

branch : cgarrett/nil-unknown-enum-touchups

created branch time in 11 days

push eventsquare/wire

Benoit Quenaudon

commit sha d164bc4991e9ce96944adaa10618d165283729d2

Sample of new handling for OneOf's

view details

push time in 14 days

push eventsquare/wire

Benoit Quenaudon

commit sha c1ae1a97f7d840e433dab11d6fe22e9daddd35a8

Sample of new handling for OneOf's

view details

push time in 14 days

pull request commentsquare/wire

WIP: Sample of new handling for OneOf's

Very excited to see this, having some sort of "which field is active"-enum (rather than looking for a non-null field) is very interesting to me right now. ❤️

oldergod

comment created time in 14 days

push eventsquare/wire

Benoit Quenaudon

commit sha 5feef52656f46e8cc680e5940bb7fd0dbbb3507d

Sample of new handling for OneOf's

view details

push time in 14 days

push eventsquare/wire

Benoit Quenaudon

commit sha 88eced96dcb76911e888fa5d48fb0dfece7e011d

Sample of new handling for OneOf's

view details

push time in 14 days

push eventsquare/wire

Benoit Quenaudon

commit sha 40a6b71e92018a7641c2380749b59952a75733e0

Use OneOf ProtoAdapter

view details

push time in 14 days

push eventsquare/wire

Benoit Quenaudon

commit sha 7672bd94c3320a6000b5378a23c48d1ef9101420

Use OneOf ProtoAdapter

view details

push time in 14 days

issue commentsquare/wire

`oneof` generated class does not contain `enum` types

Hello All - I just found this, am wondering if there has been any change, since?

Tandy1234

comment created time in 14 days

push eventsquare/wire

Benoit Quenaudon

commit sha 033dcece5e01089015e2281e2af1243af3df6919

Sample of new handling for OneOf's

view details

push time in 14 days

push eventsquare/wire

Benoit Quenaudon

commit sha 04e9206ca56c5d341222dbb357c26046975197a9

Sample of new handling for OneOf's

view details

push time in 14 days

push eventsquare/wire

Benoit Quenaudon

commit sha 352611b28d835cd6d552f4a0be7a2a33f2413065

Sample of new handling for OneOf's

view details

push time in 14 days

push eventsquare/wire

Benoit Quenaudon

commit sha fb6052050ec88a9f10a03e26f9d7ebf85b10bc0e

Sample of new handling for OneOf's

view details

push time in 14 days

PR opened square/wire

WIP: Sample of new handling for OneOf's
+56 -65

0 comment

2 changed files

pr created time in 14 days

create barnchsquare/wire

branch : bquenaudon.2020-11-13.oneofwip

created branch time in 14 days

more