Kamron Batman
679e8100f4
cleanup: Fixes bugs and cleans up code ( #660 )
2021-07-19 20:49:59 -07:00
Kamron Batman
510d2e006b
fix(codegen): Fixes bulk order deed hue and codegens ( #647 )
...
- [X] Codegens some Bulk Order stuff
- [X] Fixes deserializing with a class that requires the parent as a constructor argument
Closes #641
Closes #623
2021-06-11 19:51:03 -07:00
Kamron Batman
803b4a33cb
fix(codegen): Adds access modifiers to serializable fields ( #633 )
...
- [X] Adds options for SerializableField.
Example:
```cs
[SerializableField(0, getter: "protected", setter: "protected", isVritual: true)]
private int _someField;
```
Defaults: `getter: "public", setter: "public", isVirtual: false`
2021-06-01 22:53:51 -07:00
Kamron Batman
ac3958a0b8
fix(codegen): Fixes codegen on VS2019 ( #629 )
...
- [X] Fixes code gen on VS2019
- [X] Fixes schema generator not iterating through all nodes
- [X] Fixes errors with building the actual code gen
2021-05-31 16:30:17 -07:00
Kamron Batman
b6779a7c09
fix(codegen): Creates multiple steps for serialization source generator ( #628 )
...
Roslyn Source generators are not supposed to access I/O. To get around this we have to use `AdditionalFiles` to give the analyzer access to read/load the schema files.
To write the schema files we have to use a separate program altogether.
- [X] Adds SerializationSchemaGenerator
- [X] Splits out the SerializationGenerator code
2021-05-31 11:54:59 -07:00