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

Remove updatedAt from transactions #47

Merged
merged 1 commit into from May 16, 2018

Conversation

mederic-p
Copy link
Contributor

Issue/Task Number: 282

Overview

This PR removes the updatedAtattribute and its related uses from Transaction.

Changes

  • Remove updatedAt attribute from Transaction model
  • Update the sort/filter terms of Transaction

Implementation Details

Transaction can't be updated so there is no need for the updatedAt attribute.

Impact

Once removed from the API, older version of the SDK will not work anymore.

- `sortDir` is the sorting direction. Available values: `.ascending`, `.descending`
- `searchTerm` is a term to search for in ALL of the searchable fields. Conflict with search_terms, only use one of them. See list of searchable fields below (same as search_terms).
- `searchTerms` is a dictionary of fields to search in with the following available fields: `.id`, `.status`, `.from`, `.to`, `.createdAt`, `.updatedAt`. Ex: `[.from: "someAddress", .id: "someId"]`
Copy link

@ripzery ripzery May 14, 2018

Choose a reason for hiding this comment

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

Shouldn't delete .createdAt?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's actually not supported by the API so it shouldn't be here :)

@mederic-p mederic-p merged commit 6f20dc0 into master May 16, 2018
@mederic-p mederic-p deleted the T282-remove-uptedAt-from-transaction branch May 16, 2018 01:46
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.

None yet

3 participants