<@U01PL2YSG8L> I'm thinking about deviating from t...
# contributions
h
@Kishore Nallan I'm thinking about deviating from the rest of the clients in the implementation of Operations class. Could you check this and provide your input? https://github.com/happy-san/typesense-dart/commit/b30e9ed4fed608a1f1536315645015188268d8ff#diff-df4195f04d912ee6202323fb8bec8940c38b151f7ebb0569922bbd13f192c83fL9
k
I think this is better than having a
perform
-- not sure what we were thinking with that. Let's also run it by @Jason Bosco before merging, but I think eventually even the clients are better off being more explicit here.
h
sure
j
I wanted to not have to edit the clients for every type of operation we added to the server…
I guess that also makes it hard to do types in static languages.
k
It makes discovery of the API difficult. Even in dynamic languages, IDEs can list available methods on the class.
j
Yeah, ok let’s switch to what you have @Harpreet Sangar. I’ll update the other clients - it’s easy to do this in a backward compatible way.
👍 1
h
Sure