- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 24
Open
Description
Craft introduced column suffixes for new fields, but it seems like the GraphQL queries on Preparse fields aren't querying against the field column. Unsure if this is a Craft bug or Preparse Field bug.
EG: Our test query
{
  events:entries(section:"events", calendarDatesEnd: "now", limit: 1){
    title
    ... on events_default_Entry {
      calendarDatesEnd
    }
  }
}
Returns the following SQL error
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'content.field_calendarDatesEnd' in 'where clause'
The column is actually content.field_calendarDatesEnd_urqjyipm because of the suffix Craft adds.
Metadata
Metadata
Assignees
Labels
No labels