WowPacketParser icon indicating copy to clipboard operation
WowPacketParser copied to clipboard

Remove nullables from IDataModels

Open DDuarte opened this issue 9 years ago • 0 comments

The IDataModels in https://github.com/TrinityCore/WowPacketParser/tree/master/WowPacketParser/Store/Objects after 3ddbce572bddaf79c3d570cf406cc98d927acbad are using a lot of nullables which make the API a bit clumsy to use and in most cases the null fields do not make any sense, e.g, what does it mean having a CreatureTemplate object with Entry set to null?

@Carbenium can give more info on this

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29428522-remove-nullables-from-idatamodels?utm_campaign=plugin&utm_content=tracker%2F457228&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F457228&utm_medium=issues&utm_source=github).

DDuarte avatar Dec 28 '15 02:12 DDuarte