fsprojects / AzureStorageTypeProvider

An F# Azure Type Provider which can be used to explore Blob, Table and Queue Azure Storage assets and easily apply CRUD operations on them.
http://fsprojects.github.io/AzureStorageTypeProvider/
The Unlicense
84 stars 34 forks source link

WIP migrating to Azure Storage SDK 10.0 #129

Open xperiandri opened 5 years ago

isaacabraham commented 5 years ago

@xperiandri firstly thank you for creating this PR and apologies (I know we've spoken already about this) for the delay in getting to it.

At first glance, is there a reason why we need to move to three separate type providers? What are the benefits from both the user's point of view as well as development experience?

isaacabraham commented 5 years ago

@xperiandri I've picked up where I left off with the TP - basically the latest versions of F# have build issues relating to the use of the FSharp Compiler Tools dependency (which is coupled to F#4.1) so I'm removing that dependency, whilst also upgrading to FAKE 5. Once they're both out of the way (hopefully today) let's work together to get this ready to go in - I'm willing to split out into three assemblies as long as it's clear what the benefits are.

xperiandri commented 5 years ago

Sounds good Was I wrong changing getting current executing assembly to getting current assembly?

isaacabraham commented 5 years ago

@xperiandri where? I'm just getting the current couple of branches merged into master and then will start looking at this PR in more detial.

xperiandri commented 5 years ago

OK In TP initialization

xperiandri commented 5 years ago

By the way, I would prefer to move to a model where you can create a provider with a connection string. Like ExcelProvider does.

isaacabraham commented 5 years ago

@xperiandri you can already do that?

xperiandri commented 5 years ago

I mean dynamically. Now you either pass it into TP in code, or when calling a method

isaacabraham commented 5 years ago

So move away from method-based overrides to a single override at the "top" level? That's something I'd love to do. (btw you can specify a config file as well).

xperiandri commented 5 years ago

Yes. Cool!

isaacabraham commented 5 years ago

Regarding get executing assembly vs current assembly using a type - both should work; is there any difference?

xperiandri commented 5 years ago

I guessed that it will fix an issue with that you need to have Tables.json in all project referencing project with type provider

xperiandri commented 5 years ago

I've rebased my changed on top of yours