UnknownProperty
UnknownProperty
Severity: error | Type: LiquidHtml
This check reports errors when accessing properties that do not exist on variables whose structure is known. The check uses the platformOS docset to determine which properties are available on objects like context, GraphQL result objects, and other typed variables.
This catches typos in property names and helps you discover the correct API surface of platformOS objects.
Examples
✗ Incorrect Code Example (Avoid using this):
{{ context.curren_user.name }}
curren_user is a typo — the correct property is current_user.
{% graphql result = 'records/search' %}
{{ result.records.result[0].id }}
result is a typo — the correct property is results.
✓ Correct Code Example (Use this instead):
{{ context.current_user.name }}
{% graphql result = 'records/search' %}
{{ result.records.results[0].id }}
Configuration
The default configuration for this check:
UnknownProperty:
enabled: true
severity: error
Disabling This Check
This check can be disabled for code that accesses dynamic properties using variable lookup patterns that cannot be statically analyzed.