Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibility to specify Null value and FillCharacter Togheter #98

Open
paolonz82 opened this issue Feb 21, 2024 · 1 comment
Open

Possibility to specify Null value and FillCharacter Togheter #98

paolonz82 opened this issue Feb 21, 2024 · 1 comment

Comments

@paolonz82
Copy link

FixedLength Scenario :
Both FillCharacter and NullFormatter settend on a column.

If the property ha e null value, the write method return the value with FillCharacter and not the NullFormatterValue.

Example :
FillCharacter ='0'
Window Size : 4
NullFormatter : [empty]

Result of write : 0000

I would like that write return [empty]

Its that possibile?
Thank you

@jehugaleahsa
Copy link
Owner

@paolonz82 How are you setting the NullFormatter on your column definition? Or is this using the type mapper? Does it hurt that the length of your empty value is longer than the window size?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants