compositionalit / fshelpers Goto Github PK
View Code? Open in Web Editor NEWCollection of random F# Helper files
Collection of random F# Helper files
I think the function names and descriptions are mixed up for authenticate
and authenticateDevice
.
Source code here
https://github.com/CompositionalIT/fshelpers/blob/master/src/FsHelpers/ArmHelper/ArmHelper.fs#L110
authenticate
can run unattended by passing in the tenant Id and a client secret.
authenticateDevice
needs human interaction to complete the authentication process.
But the descriptions indicate the opposite.
I think the function names and descriptions should be swapped, but maybe I'm not understanding it?
If this is changed it will affect the SAFE-Template and SAFE docs, too.
(Thanks for this helper! I have been struggling to get automated deployments to Azure working and the SAFE documentation and these helpers have made my life much easier.)
Seen now in FAKE 5:
C:\Users\Isaac\Source\Repos\safe-azure\paket-files/build/CompositionalIT/fshelpers/src/FsHelpers/ArmHelper/ArmHelper.fs (17,9)-(17,22): Warning FS1178: The struct, record or union type 'ParameterType' is not structurally comparable because the type 'obj' does not satisfy the 'comparison' constraint. Consider adding the 'NoComparison' attribute to the type 'ParameterType' to clarify that the type is not comparable
C:\Users\Isaac\Source\Repos\safe-azure\paket-files/build/CompositionalIT/fshelpers/src/FsHelpers/ArmHelper/ArmHelper.fs (31,5)-(31,22): Warning FS1178: The struct, record or union type 'ResourceGroupType' is not structurally comparable because the type 'Core.Region' does not satisfy the 'comparison' constraint. Consider adding the 'NoComparison' attribute to the type 'ResourceGroupType' to clarify that the type is not comparable
C:\Users\Isaac\Source\Repos\safe-azure\paket-files/build/CompositionalIT/fshelpers/src/FsHelpers/ArmHelper/ArmHelper.fs (33,5)-(33,15): Warning FS1178: The struct, record or union type 'Deployment' is not structurally comparable because the type 'ResourceGroupType' does not satisfy the 'comparison' constraint. Consider adding the 'NoComparison' attribute to the type 'Deployment' to clarify that the type is not comparable
C:\Users\Isaac\Source\Repos\safe-azure\paket-files/build/CompositionalIT/fshelpers/src/FsHelpers/ArmHelper/ArmHelper.fs (39,5)-(39,25): Warning FS1178: The struct, record or union type 'AuthenticatedContext' is not structurally comparable because the type
'IResourceManager' does not satisfy the 'comparison' constraint. Consider adding the 'NoComparison' attribute to the type 'AuthenticatedContext' to clarify that the type is not comparable
C:\Users\Isaac\Source\Repos\safe-azure\build.fsx (111,69)-(111,94): Warning FS0052: The value has been copied to ensure the original is not mutated by this operation or because the copy is implicit when returning a struct from a member and another member is then accessed
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.