Hi. I’m new to refine. Maybe this is
Hi. I’m new to refine. Maybe this is just cause I’m starting. But I noticed the inferencer w/ simple-rest tries to fetch any field as a resource that’s a number. Is this normal? Shouldn’t that be restricted to fields like id or end in _id?
1 Reply
automatic-azure•11mo ago
Hey @context_null, the inferencer actually worked like that before, only sending relational requests to fields with
id
or _id
or similar. Then, the cases out of this scope has exceeded the cases covered with this condition. We've updated it to try for a relation for most of the fields. Since the inferencer is intended to be used in development for fast generation of crud operation boilerplates; we decided that it won't be much problematic 😅