pony icon indicating copy to clipboard operation
pony copied to clipboard

Optional is not working.

Open rudaoshi opened this issue 1 year ago • 1 comments

I must set nullable=True for the Optional field. Otherwise, I cannot set its value to None.

Look at the code, Optional is just Attribute, which does not allow None value by its validate function.

pony version= 0.7.19

rudaoshi avatar Mar 23 '25 08:03 rudaoshi

Hello. Are you talking about strings?

sashaaero avatar Apr 09 '25 18:04 sashaaero