Skip to content

Fallback to $id when validating select queries - #302

Merged
lohanidamodar merged 1 commit into
mainfrom
fix-fallback-to--when-key-not-present
Aug 3, 2023
Merged

Fallback to $id when validating select queries#302
lohanidamodar merged 1 commit into
mainfrom
fix-fallback-to--when-key-not-present

Conversation

@fanatic75

@fanatic75fanatic75 commented Aug 3, 2023

Copy link
Copy Markdown
Contributor

Metadata tables for indexes and attributes does not have key property so select queries cannot be validated. We need to fallback on when key property is not present in such cases. This commit fixes that.
Here's a discussion with Jake on this
appwrite/appwrite#5885 (comment)

Metadata tables for indexes and attributes does not have key property so select queries cannot be validated. We need to fallback on when key property is not present in such cases. This commit fixes that
@fanatic75fanatic75 changed the title Fallback to when validating select queriesFallback to $id when validating select queriesAug 3, 2023

@lohanidamodarlohanidamodar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving this based on @abnegate 's comment on
appwrite/appwrite#5885 (comment)

@lohanidamodar
lohanidamodar merged commit ec586ba into mainAug 3, 2023
@abnegate
abnegate deleted the fix-fallback-to--when-key-not-present branch November 23, 2023 01:53
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@fanatic75@lohanidamodar