Skip to content

Processing Nullable fields exceptions #29

@getBolted

Description

@getBolted

Hi! Thanks a lot for your work for this repo! Faced a problem with mapping to static field in my project: i need to parse two types of frames( config and data). Config contains info about datatypes and length of binary blocks in the data frames.
So, if i got from the config frame, that all ongoing data frames does not have field X, and there is a field in the mapping class public @Bin (type = BinType.BYTE_ARRAY) byte[] X i'll have "can't find value for mapping field [public byte[] X -> null" . Are there any ways processing this exception, except generating new java template class for each case without nullable field X?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions