Repository navigation
Changelog
- Upgrade to Spring 6 and Java 17
- Upgrade to Spring 5 and Java 8
- Add support for hasMany
- Let name pass through in hasOne
-
Issue 29: Sort model properties picked up from methods annotations
-
Support for allDataOptions and partialDataOptions (introduced with Ext JS 5)
Ext.define('User', {
extend: 'Ext.data.Model',
fields: [...],
proxy: {
type: 'direct',
directFn: 'read',
writer: {
type: 'json',
allDataOptions: {
persist: true,
associated: true
},
partialDataOptions: {
changes: false,
critical: true,
associated: true
}
}
}
});
-
Issue 28: Added support for @ModelField annotation on methods
-
Issue 24: Add range validator when output format is Ext JS 5 and validation is set to built-in. Range validation is built-in Ext JS 5.
- Add option for configuring the line ending that is used for writing the model files (CRLF, LF or SYSTEM)
-
Issue 9: Add requires for Ext.data.proxy.Direct if model contains a proxy config
-
Issue 12: Added clientIdProperty property to @Model
-
Issue 13: Added depends property to @ModelField
-
Issue 14: Added identifier property to @Model
-
Issue 15: New annotations for idProperty (@ModelId), versionProperty (@ModelVersion) and clientIdProperty (@ModelClientId)
-
Issue 16: Added reference property to @ModelField
-
Issue 17: Added extend property to @Model
-
Issue 18: Added allowNull property to @ModelField. Same behaviour as useNull.
-
Issue 19: Support a way to set the model field type to 'auto' even it's a known type
-
Issue 20: Added unique property to @ModelField
-
Issue 21: Added allowBlank property to @ModelField
-
Issue 22: Write integer instead of int and number instead of float for the Ext JS 5 output
-
Issue 23: Write autodetectTypes property to @Model
-
Added reader to @Model
- Issue 6: Support for new validator syntax introduced with Ext JS 5
- Issue 7: Add support for critical (new field config option introduced with extjs5)
- Issue 8: Add support for new field config option calculate
- Issue 9: Add attribute writeAllFields
- Issue 10: Add support for versionProperty config option
- Issue 11: Add requires for validators (Ext JS 5)
- Add new annotation @ModelValidation
- Support for @ModelAssociation and @ModelField annotations on type (class)
- Issue 1: Create model classes from interfaces
- Add support for setting writer in proxy object (writer attribute in @Model annotation)
- Initial release
- Code extracted from ralscha/extdirectspring 1.3.9
- Package renamed from ch.ralscha.extdirectspring.generator to ch.rasc.extclassgenerator
- No other code changes