Skip to content

Conversation

@brunoocasali
Copy link
Member

  • Fix HTTP methods
  • Replace Task to TaskInfo

@brunoocasali brunoocasali added the enhancement New feature or request label Aug 2, 2022
@brunoocasali brunoocasali requested a review from bidoubiwa August 2, 2022 18:30
let data: Data
do {
data = try Constants.customJSONEecoder.encode(DistinctAttributePayload(distinctAttribute: distinctAttribute))
data = try JSONEncoder().encode(distinctAttribute)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why were we able to change Constants.customJSONEecoder. here but not in the other methods?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's because this distinct-attribute setting just wants a simple string and the other methods require a complex object/array

@bidoubiwa bidoubiwa mentioned this pull request Aug 3, 2022
@brunoocasali brunoocasali requested a review from bidoubiwa August 3, 2022 14:49
Copy link
Contributor

@bidoubiwa bidoubiwa left a comment

Choose a reason for hiding this comment

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

LGTM 🔥

Base automatically changed from tasks-changes to bump-meilisearch-v0.28.0 August 4, 2022 13:06
@brunoocasali brunoocasali merged commit c3a4512 into bump-meilisearch-v0.28.0 Aug 4, 2022
@brunoocasali brunoocasali deleted the settings-changes branch August 4, 2022 13:18
@brunoocasali brunoocasali mentioned this pull request Aug 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants