Repository navigation
Identify SDK - #17
Identify SDK#17HJewkes wants to merge 4 commits into
Conversation
| return new ApiClient(); | ||
| } | ||
|
|
||
| public static SplitApiClient local() throws IOException { |
There was a problem hiding this comment.
Remove Local client (unneeded)
HJewkes
left a comment
There was a problem hiding this comment.
Rebase in latest Java
| return list(trafficType.id()); | ||
| } | ||
|
|
||
| public ApiAttributeClient create(Attribute attribute) throws IllegalArgumentException { |
There was a problem hiding this comment.
@HJewkes Question here. Why does it return a result of the same type as the service? Shouldn't it be a Boolean, to know if the action was successful or not, or at least the type of the object being created (I mean: Attribute)?
There was a problem hiding this comment.
@patricioe requested creating a fluent api, so this is designed to allow for fluent execution of calls. He may have only been referring to the builder pattern for objects tho - so I'll let him clarify
There was a problem hiding this comment.
we decided to return a result after each execution method.
|




Open questions:
apiClient.trafficTypes().list()) or a flat client (ieapiClient.listTrafficTypes())