openapi3: use Ptr instead of BoolPtr,Float64Ptr,Int64Ptr,Uint64Ptr#1033
openapi3: use Ptr instead of BoolPtr,Float64Ptr,Int64Ptr,Uint64Ptr#1033fenollp merged 1 commit intogetkin:masterfrom
Conversation
59997e4 to
cbe9616
Compare
|
I fail to see the improvement here. Today's explicitly typed functions make it much easier to grasp their purpose and to find IMO. Thoughts? |
I intend to introduce' Ptr' to shorten See these PRs where
|
cbe9616 to
4721fff
Compare
|
My preference is to use the generic |
|
@fenollp, is there a chance to revisit this, or should we close the PR? |
This adds generic
openapi3.Ptrfunction to be used instead ofopenapi3.BoolPtr, openapi3.Float64Ptr, openapi3.Int64Ptr, openapi3.Uint64Ptr.