Skip to content

FieldNotFound when field is available #4083

@andygrove

Description

@andygrove

Describe the bug

Errors like this are quite confusing. The field is not found but is then listed as being available.

Error: SchemaError(FieldNotFound { qualifier: None, name: "actual_result.part.p_brand", 
valid_fields: Some(["actual_result.part.p_brand", ...

To Reproduce

  • create a field with no qualifier and name "a.b" then lookup qualifier="a", name="b"
  • create a field with qualifier="a", name = "b", then lookup with no qualifier and name = "a.b"

Expected behavior
Two choices:

  • Should find a match regardless of inconsistencies of format
  • Improve error message to make it clear how these names are formed

Additional context

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions