You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@auth/azure-tables-adapter to support Cosmos for Tables.
Non-Goals
Creating a separate Cosmos for Tables adapter (since they use the same SDK).
Background
Cosmos for Tables uses the same @azure/data-tables SDK for interactions, except Cosmos doesn't allow you to use the ID property in the object body of entries/rows so it currently doesn't work in the current adapter. Here is the error that occurs when trying to use this adapter with the Cosmos for Tables backend:
{
"odata.error": {
"code": "PropertyNameInvalid",
"message": {
"lang": "en-us",
"value": "The property name 'id' is currently not supported.\r\nActivityId: ac5449cf-6df3-4d68-9e29-7a6a7987bbb2, documentdb-dotnet-sdk/2.14.0 Host/64-bit MicrosoftWindowsNT/10.0.17763.0\nRequestID:ac5449cf-6df3-4d68-9e29-7a6a7987bbb2\n"
}
}
}
Proposal
This could be accomplished by using a different field name, perhaps can be configured in the adapter config, so it doesn't introduce a breaking change, or it could just be changed to something else (that might not be ideal though since it would introduce a breaking change).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Goals
Non-Goals
Background
Cosmos for Tables uses the same @azure/data-tables SDK for interactions, except Cosmos doesn't allow you to use the ID property in the object body of entries/rows so it currently doesn't work in the current adapter. Here is the error that occurs when trying to use this adapter with the Cosmos for Tables backend:
Proposal
This could be accomplished by using a different field name, perhaps can be configured in the adapter config, so it doesn't introduce a breaking change, or it could just be changed to something else (that might not be ideal though since it would introduce a breaking change).
Beta Was this translation helpful? Give feedback.
All reactions