Version 1.1.0 #4
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Version 1.1.0
I have been using Bofa a bit for my personal projects and found some potential changes to make for an upcoming 1.1.0 version.
This issues lists off all of the changes to make for this new version to be completed.
Serialization
Serialization still has a few things that need to be done to make it useable by others
Deserialize(Dictionary<String, Bofa>)
Currently files are parsed into a loose dictionary instead of an object.
This is a nicer representation but breaks when someone wants to store only one object inside of a single file.
They need to make a useless container object or cant take advantage of our parser generation.
Allowing our generated parser to take in a Dictionary instead of an object will fix this.
RequiredAttribute
If a single field of a file cannot be parsed we automatically fail.
This means that people who want optional fields need to write their own parser which is bad.
The required attribute indicates that the field needs to be filled by the object in order to not error.
Also the parser should no longer error when its unable to parse a field.
Strict
Returns the old behaviour of failing when a single field cannot be filled.
Types
rgb -> 3x8bit color value
Should be represented by a uint8[3] in order to map to c type structs better
rgba -> 4x8bit color value with alpha
Should be represented by a uint8[4] in order to map to c type structs better
hash -> sha256 in hexadecimal representation
Documentation
Version 1.1to Version 1.1.0The main requirements for the new version are done.
Now follows a testing phase aswell as some more adjustments for the new features
Everything done, ready for release