Closed nprzy closed 3 weeks ago
@nprzy maybe the default commented out value of descriptionExpression
in application.yml
should be your recommended value of "transaction.originalDescription ?: transaction.merchantName ?: transaction.name"
so users are more likely to adopt that value than the legacy fallback?
maybe the default commented out value of
descriptionExpression
inapplication.yml
should be your recommended value of"transaction.originalDescription ?: transaction.merchantName ?: transaction.name"
so users are more likely to adopt that value than the legacy fallback?
I personally find that having the commented-out value reflect the default is helpful in understanding the impact of uncommenting and customizing a configuration. I would bias towards a written recommendation for that value in the comments instead. I can open a PR for it, but it might be a few weeks.
I personally find that having the commented-out value reflect the default is helpful in understanding the impact of uncommenting and customizing a configuration.
Indeed.
I would bias towards a written recommendation for that value in the comments instead.
I buy that. I can make that change easily enough.
This PR enhances the Firefly transactions written by firefly-plaid-connector-2 in the following ways:
authorizedDatetime
over thedatetime
field. IfauthorizedDatetime
is not available, we will fallback todatetime
. Anddatetime
will also still be preserved as the FireflyprocessDate
field. My motivation for this comes from the Plaid documentation, which states: "The authorized_date, when available, is generally preferable to use over the date field for posted transactions, as it will generally represent the date the user actually made the transaction.""originalDescription ?: merchantName ?: name"
in my stack for the last few weeks and think it would make a sane default.