#community-help

Issue with 'Auto' Type in Collection Schema

TLDR Gabriel reported an issue with the 'auto' type in collection schema. Kishore Nallan recommended trying the 0.23 RC builds which resolved the issue.

Powered by Struct AI

1

Mar 10, 2022 (22 months ago)
Gabriel
Photo of md5-0a5e04bd1893bc2c14da1cf700f1aed1
Gabriel
03:49 PM
Hi, I have a question.

At some point this schema was valid and working:
[
{'name': 'fname', type: 'string'},
{ 'name' : 'user', type: 'auto' }
]

but now if I try to create a new collection it says "Cannot use type auto for user. It can be used only for a field name containing .*" "

So has this been changed and 'auto' can no longer be set if the name is not '.*' ?
Kishore Nallan
Photo of md5-4e872368b2b2668460205b409e95c2ea
Kishore Nallan
04:10 PM
I think we fixed this regression on the 0.23 RC builds. Can you check against that?

1

Gabriel
Photo of md5-0a5e04bd1893bc2c14da1cf700f1aed1
Gabriel
04:44 PM
ok worked with 0.23 20RC