Azure Storage TP Upgrade error
See original GitHub issueDescription
Using the latest version of ProvidedTypes.fs
, I’ve updated the Azure TP in this branch. The main solution builds fine, but the Test project that references the TP does not work:
C:\Users\Isaac\Source\Repos\AzureStorageTypeProvider\tests\IntegrationTests\TableUnitTests.fs(28,20): error FS3033: The type provider 'ProviderImplementation.AzureTypeProvider' reported an error in the context of provided type 'FSharp.Azure.StorageTypeProvider.AzureTypeProvider,accountName="DevStorageAccount"+Domain+optionalsEntity', member 'get_IsAnimal'. The error: generic parameter index our of range: 0 [C:\Users\Isaac\Source\Repos\AzureStorageTypeProvider\tests\IntegrationTests\IntegrationTests.fsproj]
However, I’m able to get it to work absolutely fine in a script - it appears that it’s just in a compiled project that the issue appears. Note that the Test project is MSBuild 14, .NET 4.5.2, F#4.0.
It also compiles fine for the Blob and Queue provided types - it’s something about the way we’re creating Table entities that’s causing the issue. My feeling is that the issue lies somewhere in the TableEntityMemberFactory.setPropertiesForEntity
function (or functions called within).
Repro steps
- Download the Azure Type Provider repository.
- Switch to the cross-targeting branch.
- Run
build.cmd
. The FAKE script will fail whilst building the test project.
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Validation failed while upgrading Azure blob to datalake ...
I am upgrading Azure blob storage to DataLake gen 2. I have already created few pipelines in adf in which there was a...
Read more >Validation failed while upgrading Azure blob to DataLake ...
Now when I tried to upgrade to DataLake Gen 2, validation failed saying that "Incompatible feature soft delete". I disabled "Enable Logging" in ......
Read more >Error Codes for Update Storage Account
Error Code HTTP Status Description
InvalidAccountType BadRequest (400) The specified Account type is invalid.
MaxTagKeyLengthExceeded BadRequest (400) A key given in the tags is too...
Read more >Upgrade Azure Blob Storage with Azure Data Lake ...
The Upgrade to a Storage account with Azure Data Lake Gen2 capabilities configuration ... If validation fails, an error appears in the page....
Read more >Failed to update storage account. Enabling Azure Active ...
Hi, I am trying to enable Azure AD authentication on Azure files, When I try to enable the Azure AD element I get...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@isaacabraham Fixed by #167. Thanks for making the standalone repro - it means we now have this under test
Ok, will take a look