FINERACT-1694: Making Avro mapping to fail at compile time for unmapped properties
This commit is contained in:
committed by
Arnold Gálovics
parent
3f1743a3d4
commit
4f312f33f6
@@ -416,7 +416,7 @@
|
||||
"name": "timeline",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.generic.v1.EnumOptionDataV1"
|
||||
"org.apache.fineract.avro.loan.v1.LoanApplicationTimelineDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
"name": "timeline",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.loan.v1.LoanApplicationTimelineV1"
|
||||
"org.apache.fineract.avro.loan.v1.LoanApplicationTimelineDataV1"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "LoanApplicationTimelineV1",
|
||||
"name": "LoanApplicationTimelineDataV1",
|
||||
"namespace": "org.apache.fineract.avro.loan.v1",
|
||||
"type": "record",
|
||||
"fields": [
|
||||
@@ -325,7 +325,7 @@
|
||||
},
|
||||
{
|
||||
"default": null,
|
||||
"name": "allowPartialPeriodInterestCalcualtion",
|
||||
"name": "allowPartialPeriodInterestCalculation",
|
||||
"type": [
|
||||
"null",
|
||||
"boolean"
|
||||
|
||||
@@ -128,7 +128,10 @@
|
||||
"name": "periods",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.loan.v1.LoanSchedulePeriodDataV1"
|
||||
{
|
||||
"type": "array",
|
||||
"items": "org.apache.fineract.avro.loan.v1.LoanSchedulePeriodDataV1"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -136,7 +139,10 @@
|
||||
"name": "futurePeriods",
|
||||
"type": [
|
||||
"null",
|
||||
"org.apache.fineract.avro.loan.v1.LoanSchedulePeriodDataV1"
|
||||
{
|
||||
"type": "array",
|
||||
"items": "org.apache.fineract.avro.loan.v1.LoanSchedulePeriodDataV1"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
},
|
||||
{
|
||||
"default": null,
|
||||
"name": "description",
|
||||
"name": "value",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
|
||||
Reference in New Issue
Block a user