Closed kibblerz closed 1 year ago
Can you explain further what this should be accomplishing? Using a number field as a reference should already be supported.
It does not, the slug ends up empty, or the reference field is skipped if skipUndefinedReferences is enabled. Numbers do not have a length property, so it is seen as undefined.
Alright, makes sense. Thanks for catching and reporting it. Will review it over the weekend.
@kibblerz ,
Please resolve the suggested change and remove the changes to lines 36 & 38. Once completed I will merge.
Closing as this will be fixed by #78
Adding support for numbers in the slug. It's a simple change, but quite useful to be able to use numbers in the slug fields.