Feature/simplify data source checks in DTOs (#4581)
* Simplify DataSource checks in DTOs * Add test case * Update changelogpull/4594/head
parent
10580e22d1
commit
50e7e3d3c7
@ -0,0 +1,18 @@
|
||||
{
|
||||
"meta": {
|
||||
"date": "2021-01-01T00:00:00.000Z",
|
||||
"version": "dev"
|
||||
},
|
||||
"activities": [
|
||||
{
|
||||
"currency": "USD",
|
||||
"dataSource": "<invalid>",
|
||||
"date": "2021-01-01T00:00:00.000Z",
|
||||
"fee": 0,
|
||||
"quantity": 20,
|
||||
"symbol": "AAPL",
|
||||
"type": "BUY",
|
||||
"unitPrice": 100.0
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in new issue