Serializer were not generated if generationThreshold was changed.
Merge pull request #1231 from esdrubal/gthreshold

Serializer were not generated if generationThreshold was changed.