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

Simplified goFor implementation. #1

Merged
merged 1 commit into from
May 27, 2019
Merged

Conversation

bwplotka
Copy link

Signed-off-by: Bartek Plotka [email protected]

@bwplotka
Copy link
Author

You awesome tests passes (: @GiedriusS

Copy link
Owner

@GiedriusS GiedriusS left a comment

Choose a reason for hiding this comment

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

This is smart, how have I not thought of this? 👍 awesome

@GiedriusS GiedriusS merged commit 3602678 into GiedriusS:getFor May 27, 2019
@bwplotka
Copy link
Author

bwplotka commented May 27, 2019

I think you were focused on fixing just this last piece. Always try to think in bigger picture, sometimes going back and rethinking bigger piece is easier then workaround details (:

@bwplotka bwplotka deleted the getFor branch May 27, 2019 15:15
GiedriusS added a commit that referenced this pull request Jun 13, 2022
* removed gogo-proto extensions from rpc.proto

Signed-off-by: rahulii <[email protected]>

* store: convert to a slice of pointers

Signed-off-by: Giedrius Statkevičius <[email protected]>

* removed gogoproto specific extensions and generated code

* removed Zlabel custom type and ran make proto

Signed-off-by: rahulii <[email protected]>

* labelpb: update functions to not use ZLabels

Signed-off-by: Giedrius Statkevičius <[email protected]>

* store: convert chunks to pointers

Signed-off-by: Giedrius Statkevičius <[email protected]>

* *: convert to use *labelpb.Label

Signed-off-by: Giedrius Statkevičius <[email protected]>

* resolve errors

* make use of custom json tag

* more changes and resolve errors

* store: convert more places to use pointers

Signed-off-by: Giedrius Statkevičius <[email protected]>

* replaced gogo-json-tag with protoc-go-inject-tag

* scripts/genproto: add hack for protobuf types

Signed-off-by: Giedrius Statkevičius <[email protected]>

* convert time.Time to protobuf.Timestamp

* migrate time.Time to protobuf.Timestamp

* resolving tests error

* resolve tests errors

* implement custom MarshalJSON

* partial fix to tests

* fix to tests

* fix to tests

* fix to more tests

* rules: make tests clearer

Signed-off-by: Giedrius Statkevičius <[email protected]>

* rulespb: fix some timestamp stuff

Signed-off-by: Giedrius Statkevičius <[email protected]>

* api: reuse same function, fix tests

Signed-off-by: Giedrius Statkevičius <[email protected]>

* rules: use proper default value for Timestamp

Signed-off-by: Giedrius Statkevičius <[email protected]>

* fix to tests

* fix tests

* metadata: fix tests

Signed-off-by: Giedrius Statkevičius <[email protected]>

* *: remove unused files

Signed-off-by: Giedrius Statkevičius <[email protected]>

* e2e: fix more timestamp problems

Signed-off-by: Giedrius Statkevičius <[email protected]>

Co-authored-by: rahulii <[email protected]>
Co-authored-by: Giedrius Statkevičius <[email protected]>
GiedriusS pushed a commit that referenced this pull request Jul 11, 2023
…-func

Reuse buffers for label comparison
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.

2 participants