From 7529e39ac14867ec2808713e4182c439ba5e9a87 Mon Sep 17 00:00:00 2001 From: Juri Date: Sun, 4 Sep 2022 01:31:59 +0300 Subject: [PATCH 1/2] Removed Paket and Fake-CLI, migrated to Packages.props, updated to .NET 6 and F# 6 --- .config/dotnet-tools.json | 30 +- .github/workflows/dotnetcore.yml | 6 +- .paket/Paket.Restore.targets | 494 ------------- Directory.Build.targets | 29 + FSharp.Data.GraphQL.sln | 20 +- Packages.props | 31 + build.cmd | 2 +- build.fsx | 118 ++- build.fsx.lock | 680 +----------------- build.sh | 2 +- global.json | 10 +- paket.dependencies | 41 -- paket.lock | 641 ----------------- ...rp.Data.GraphQL.Samples.StarWarsApi.fsproj | 22 +- samples/star-wars-api/HttpHandlers.fs | 29 +- ...harp.Data.GraphQL.Client.DesignTime.fsproj | 31 +- .../paket.references | 6 - .../AssemblyInfo.fs | 17 - .../FSharp.Data.GraphQL.Client.fsproj | 19 +- ....Data.GraphQL.Client.fsproj.paket.template | 24 - .../paket.references | 4 - .../AssemblyInfo.fs | 17 - ...harp.Data.GraphQL.Server.Middleware.fsproj | 24 +- ...QL.Server.Middleware.fsproj.paket.template | 20 - .../paket.references | 2 - .../AssemblyInfo.fs | 22 - .../FSharp.Data.GraphQL.Server.fsproj | 36 +- ....Data.GraphQL.Server.fsproj.paket.template | 23 - .../paket.references | 4 - .../AssemblyInfo.fs | 26 - .../FSharp.Data.GraphQL.Shared.fsproj | 33 +- ....Data.GraphQL.Shared.fsproj.paket.template | 21 - .../paket.references | 3 - .../FSharp.Data.GraphQL.Benchmarks.fsproj | 16 +- .../paket.references | 3 - ...ata.GraphQL.IntegrationTests.Server.fsproj | 18 +- .../Helpers.fs | 2 +- .../HttpHandlers.fs | 33 +- .../MultipartRequest.fs | 4 +- .../Schema.fs | 2 +- .../Startup.fs | 6 +- .../paket.references | 3 - ...Sharp.Data.GraphQL.IntegrationTests.fsproj | 33 +- .../paket.references | 7 - .../xunit.runner.json | 4 +- .../paket.references | 3 - tests/FSharp.Data.GraphQL.Tests/App.config | 6 - .../FSharp.Data.GraphQL.Tests/AssemblyInfo.fs | 22 - .../FSharp.Data.GraphQL.Tests.fsproj | 34 +- tests/FSharp.Data.GraphQL.Tests/Program.fs | 3 + .../paket.references | 7 - .../xunit.runner.json | 4 +- 52 files changed, 353 insertions(+), 2344 deletions(-) delete mode 100644 .paket/Paket.Restore.targets create mode 100644 Directory.Build.targets create mode 100644 Packages.props delete mode 100644 paket.dependencies delete mode 100644 paket.lock delete mode 100644 src/FSharp.Data.GraphQL.Client.DesignTime/paket.references delete mode 100644 src/FSharp.Data.GraphQL.Client/AssemblyInfo.fs delete mode 100644 src/FSharp.Data.GraphQL.Client/FSharp.Data.GraphQL.Client.fsproj.paket.template delete mode 100644 src/FSharp.Data.GraphQL.Client/paket.references delete mode 100644 src/FSharp.Data.GraphQL.Server.Middleware/AssemblyInfo.fs delete mode 100644 src/FSharp.Data.GraphQL.Server.Middleware/FSharp.Data.GraphQL.Server.Middleware.fsproj.paket.template delete mode 100644 src/FSharp.Data.GraphQL.Server.Middleware/paket.references delete mode 100644 src/FSharp.Data.GraphQL.Server/AssemblyInfo.fs delete mode 100644 src/FSharp.Data.GraphQL.Server/FSharp.Data.GraphQL.Server.fsproj.paket.template delete mode 100644 src/FSharp.Data.GraphQL.Server/paket.references delete mode 100644 src/FSharp.Data.GraphQL.Shared/AssemblyInfo.fs delete mode 100644 src/FSharp.Data.GraphQL.Shared/FSharp.Data.GraphQL.Shared.fsproj.paket.template delete mode 100644 src/FSharp.Data.GraphQL.Shared/paket.references delete mode 100644 tests/FSharp.Data.GraphQL.Benchmarks/paket.references delete mode 100644 tests/FSharp.Data.GraphQL.IntegrationTests.Server/paket.references delete mode 100644 tests/FSharp.Data.GraphQL.IntegrationTests/paket.references delete mode 100644 tests/FSharp.Data.GraphQL.Tests.Sql/paket.references delete mode 100644 tests/FSharp.Data.GraphQL.Tests/App.config delete mode 100644 tests/FSharp.Data.GraphQL.Tests/AssemblyInfo.fs delete mode 100644 tests/FSharp.Data.GraphQL.Tests/paket.references diff --git a/.config/dotnet-tools.json b/.config/dotnet-tools.json index 41e28fcb3..e57098a44 100644 --- a/.config/dotnet-tools.json +++ b/.config/dotnet-tools.json @@ -1,24 +1,12 @@ { - "version": 1, - "isRoot": true, - "tools": { - "paket": { - "version": "5.257.0", - "commands": [ - "paket" - ] - }, - "fake-cli": { - "version": "5.20.4", - "commands": [ - "fake" - ] - }, - "fsharp.formatting.commandtool": { - "version": "11.1.0", - "commands": [ - "fsdocs" - ] - } + "version": 1, + "isRoot": true, + "tools": { + "fsharp.formatting.commandtool": { + "version": "11.1.0", + "commands": [ + "fsdocs" + ] } + } } \ No newline at end of file diff --git a/.github/workflows/dotnetcore.yml b/.github/workflows/dotnetcore.yml index c1c7f27e1..ce5e9e066 100644 --- a/.github/workflows/dotnetcore.yml +++ b/.github/workflows/dotnetcore.yml @@ -20,7 +20,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macOS-latest] - dotnet: [5.0.100] + dotnet: [6.0.400] runs-on: ${{ matrix.os }} steps: @@ -31,7 +31,5 @@ jobs: dotnet-version: ${{ matrix.dotnet }} - name: Install local tools run: dotnet tool restore - - name: Paket Restore - run: dotnet paket restore - name: Build and Test - run: dotnet fake run build.fsx \ No newline at end of file + run: dotnet fsi build.fsx \ No newline at end of file diff --git a/.paket/Paket.Restore.targets b/.paket/Paket.Restore.targets deleted file mode 100644 index 8d37e28bc..000000000 --- a/.paket/Paket.Restore.targets +++ /dev/null @@ -1,494 +0,0 @@ - - - - - - - $(MSBuildAllProjects);$(MSBuildThisFileFullPath) - - $(MSBuildVersion) - 15.0.0 - false - true - - true - $(MSBuildThisFileDirectory) - $(MSBuildThisFileDirectory)..\ - $(PaketRootPath)paket-files\paket.restore.cached - $(PaketRootPath)paket.lock - classic - proj - assembly - native - /Library/Frameworks/Mono.framework/Commands/mono - mono - - - $(PaketRootPath)paket.bootstrapper.exe - $(PaketToolsPath)paket.bootstrapper.exe - $([System.IO.Path]::GetDirectoryName("$(PaketBootStrapperExePath)"))\ - - "$(PaketBootStrapperExePath)" - $(MonoPath) --runtime=v4.0.30319 "$(PaketBootStrapperExePath)" - - - - - true - true - - - True - - - False - - $(BaseIntermediateOutputPath.TrimEnd('\').TrimEnd('\/')) - - - - - - - - - $(PaketRootPath)paket - $(PaketToolsPath)paket - - - - - - $(PaketRootPath)paket.exe - $(PaketToolsPath)paket.exe - - - - - - <_DotnetToolsJson Condition="Exists('$(PaketRootPath)/.config/dotnet-tools.json')">$([System.IO.File]::ReadAllText("$(PaketRootPath)/.config/dotnet-tools.json")) - <_ConfigContainsPaket Condition=" '$(_DotnetToolsJson)' != ''">$(_DotnetToolsJson.Contains('"paket"')) - <_ConfigContainsPaket Condition=" '$(_ConfigContainsPaket)' == ''">false - - - - - - - - - - - <_PaketCommand>dotnet paket - - - - - - $(PaketToolsPath)paket - $(PaketBootStrapperExeDir)paket - - - paket - - - - - <_PaketExeExtension>$([System.IO.Path]::GetExtension("$(PaketExePath)")) - <_PaketCommand Condition=" '$(_PaketCommand)' == '' AND '$(_PaketExeExtension)' == '.dll' ">dotnet "$(PaketExePath)" - <_PaketCommand Condition=" '$(_PaketCommand)' == '' AND '$(OS)' != 'Windows_NT' AND '$(_PaketExeExtension)' == '.exe' ">$(MonoPath) --runtime=v4.0.30319 "$(PaketExePath)" - <_PaketCommand Condition=" '$(_PaketCommand)' == '' ">"$(PaketExePath)" - - - - - - - - - - - - - - - - - - - - - true - $(NoWarn);NU1603;NU1604;NU1605;NU1608 - false - true - - - - - - - - - $([System.IO.File]::ReadAllText('$(PaketRestoreCacheFile)')) - - - - - - - $([System.Text.RegularExpressions.Regex]::Split(`%(Identity)`, `": "`)[0].Replace(`"`, ``).Replace(` `, ``)) - $([System.Text.RegularExpressions.Regex]::Split(`%(Identity)`, `": "`)[1].Replace(`"`, ``).Replace(` `, ``)) - - - - - %(PaketRestoreCachedKeyValue.Value) - %(PaketRestoreCachedKeyValue.Value) - - - - - true - false - true - - - - - true - - - - - - - - - - - - - - - - - - - $(PaketIntermediateOutputPath)\$(MSBuildProjectFile).paket.references.cached - - $(MSBuildProjectFullPath).paket.references - - $(MSBuildProjectDirectory)\$(MSBuildProjectName).paket.references - - $(MSBuildProjectDirectory)\paket.references - - false - true - true - references-file-or-cache-not-found - - - - - $([System.IO.File]::ReadAllText('$(PaketReferencesCachedFilePath)')) - $([System.IO.File]::ReadAllText('$(PaketOriginalReferencesFilePath)')) - references-file - false - - - - - false - - - - - true - target-framework '$(TargetFramework)' or '$(TargetFrameworks)' files @(PaketResolvedFilePaths) - - - - - - - - - - - false - true - - - - - - - - - - - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',').Length) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[0]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[1]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[4]) - $([System.String]::Copy('%(PaketReferencesFileLines.Identity)').Split(',')[5]) - - - %(PaketReferencesFileLinesInfo.PackageVersion) - All - runtime - runtime - true - true - - - - - $(PaketIntermediateOutputPath)/$(MSBuildProjectFile).paket.clitools - - - - - - - - - $([System.String]::Copy('%(PaketCliToolFileLines.Identity)').Split(',')[0]) - $([System.String]::Copy('%(PaketCliToolFileLines.Identity)').Split(',')[1]) - - - %(PaketCliToolFileLinesInfo.PackageVersion) - - - - - - - - - - false - - - - - - <_NuspecFilesNewLocation Include="$(PaketIntermediateOutputPath)\$(Configuration)\*.nuspec"/> - - - - - - $(MSBuildProjectDirectory)/$(MSBuildProjectFile) - true - false - true - false - true - false - true - false - true - $(PaketIntermediateOutputPath)\$(Configuration) - $(PaketIntermediateOutputPath) - - - - <_NuspecFiles Include="$(AdjustedNuspecOutputPath)\*.$(PackageVersion.Split(`+`)[0]).nuspec"/> - - - - - - - - - - - - - - - - - - - - - diff --git a/Directory.Build.targets b/Directory.Build.targets new file mode 100644 index 000000000..1d992c909 --- /dev/null +++ b/Directory.Build.targets @@ -0,0 +1,29 @@ + + + + + 6.0 + + true + + + + John Bazinga, Andrii Chebukin, + FSharp.Data.GraphQL + F# implementation of Facebook GraphQL query language + + 1.1.0 + FSharp GraphQL Relay React Middleware + README.md + + + https://fsprojects.github.io/FSharp.Data.GraphQL + MIT + true + true + snupkg + true + + v + + diff --git a/FSharp.Data.GraphQL.sln b/FSharp.Data.GraphQL.sln index f08c5fa9d..eedca0a32 100644 --- a/FSharp.Data.GraphQL.sln +++ b/FSharp.Data.GraphQL.sln @@ -1,14 +1,8 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 16 -VisualStudioVersion = 16.0.28922.388 +# Visual Studio Version 17 +VisualStudioVersion = 17.3.32811.315 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".paket", ".paket", "{63297B98-5CED-492C-A5B7-A5B4F73CF142}" - ProjectSection(SolutionItems) = preProject - paket.dependencies = paket.dependencies - paket.lock = paket.lock - EndProjectSection -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{A6A6AF7D-D6E3-442D-9B1E-58CC91879BE1}" EndProject Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharp.Data.GraphQL.Server", "src\FSharp.Data.GraphQL.Server\FSharp.Data.GraphQL.Server.fsproj", "{474179D3-0090-49E9-88F8-2971C0966077}" @@ -137,6 +131,16 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "server", "server", "{9D5C46 samples\client-provider\file-upload\server\types.mjs = samples\client-provider\file-upload\server\types.mjs EndProjectSection EndProject +Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{E3330910-8B6C-4191-8046-D6D57FBC39B1}" + ProjectSection(SolutionItems) = preProject + Directory.Build.targets = Directory.Build.targets + global.json = global.json + LICENSE.txt = LICENSE.txt + Packages.props = Packages.props + README.md = README.md + RELEASE_NOTES.md = RELEASE_NOTES.md + EndProjectSection +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU diff --git a/Packages.props b/Packages.props new file mode 100644 index 000000000..eaf9232e0 --- /dev/null +++ b/Packages.props @@ -0,0 +1,31 @@ + + + + 6.0.* + 6.0.* + 2.* + + + + + + contentFiles + + + + + + + + + + + + + + + + + + + diff --git a/build.cmd b/build.cmd index e7ef31ba2..0d921341a 100644 --- a/build.cmd +++ b/build.cmd @@ -1,2 +1,2 @@ dotnet tool restore -dotnet fake run build.fsx %* \ No newline at end of file +dotnet fsi build.fsx %* \ No newline at end of file diff --git a/build.fsx b/build.fsx index 60688bcf2..ef755347b 100644 --- a/build.fsx +++ b/build.fsx @@ -1,21 +1,15 @@ -#r "paket: -nuget Fake.Core.Target -nuget Fake.DotNet.Cli -nuget Fake.Tools.Git -nuget Fake.DotNet.AssemblyInfoFile -nuget Fake.Core.ReleaseNotes -nuget Fake.Core.UserInput -nuget Fake.DotNet.MSBuild -nuget Fake.IO.FileSystem -nuget Fake.DotNet.Fsc -nuget Fake.Api.GitHub -nuget Fake.DotNet.Paket -nuget Octokit -nuget FSharp.Core //" - -#if !FAKE -#load ".fake/build.fsx/intellisense.fsx" -#endif +#r "nuget: Fake.Api.GitHub" +#r "nuget: Fake.Core.ReleaseNotes" +#r "nuget: Fake.Core.Target" +#r "nuget: Fake.Core.UserInput" +#r "nuget: Fake.DotNet.AssemblyInfoFile" +#r "nuget: Fake.DotNet.Cli" +#r "nuget: Fake.DotNet.Fsc" +#r "nuget: Fake.DotNet.MSBuild" +#r "nuget: Fake.IO.FileSystem" +#r "nuget: Fake.Tools.Git" +#r "nuget: System.Reactive" +#r "nuget: Octokit" open System open System.IO @@ -24,6 +18,7 @@ open System.Threading open Fake open Fake.Tools.Git open Fake.DotNet +open Fake.DotNet.NuGet open Fake.IO open Fake.IO.FileSystemOperators open Fake.IO.Globbing.Operators @@ -33,57 +28,32 @@ open Fake.Core open Fake.Api open Octokit +// https://github.com/fsprojects/FAKE/issues/2517 +// Regular header and `#load ".fake/build.fsx/intellisense.fsx"` + +#if !FAKE +let execContext = + System.Environment.GetCommandLineArgs() + |> Array.skip 2 // skip fsi.exe; build.fsx + |> Array.toList + |> Fake.Core.Context.FakeExecutionContext.Create false __SOURCE_FILE__ +execContext +|> Fake.Core.Context.RuntimeContext.Fake +|> Fake.Core.Context.setExecutionContext +#endif + // -------------------------------------------------------------------------------------- // Information about the project are used // -------------------------------------------------------------------------------------- -// - for version and project name in generated AssemblyInfo file // - by the generated NuGet package // - to run tests and to publish documentation on GitHub gh-pages // - for documentation, you also need to edit info in "docs/tools/generate.fsx" - +let [] DotNetMoniker = "net6.0" let project = "FSharp.Data.GraphQL" -let summary = "FSharp implementation of Facebook GraphQL query language" -let gitName = "FSharp.Data.GraphQL" let release = ReleaseNotes.load "RELEASE_NOTES.md" let projectRepo = "https://github.com/fsprojects/FSharp.Data.GraphQL.git" -// Generate assembly info files with the right version & up-to-date information -Target.create "AssemblyInfo" (fun _ -> - let getAssemblyInfoAttributes projectName = - [ AssemblyInfo.Title projectName - AssemblyInfo.Product project - AssemblyInfo.Description summary - AssemblyInfo.Version release.AssemblyVersion - AssemblyInfo.FileVersion release.AssemblyVersion ] - let internalsVisibility (fsproj: string) = - match fsproj with - | f when f.EndsWith "FSharp.Data.GraphQL.Shared.fsproj" -> - [ AssemblyInfo.InternalsVisibleTo "FSharp.Data.GraphQL.Server" - AssemblyInfo.InternalsVisibleTo "FSharp.Data.GraphQL.Client" - AssemblyInfo.InternalsVisibleTo "FSharp.Data.GraphQL.Client.DesignTime" - AssemblyInfo.InternalsVisibleTo "FSharp.Data.GraphQL.Tests" ] - | f when f.EndsWith "FSharp.Data.GraphQL.Server.fsproj" -> - [ AssemblyInfo.InternalsVisibleTo "FSharp.Data.GraphQL.Benchmarks" - AssemblyInfo.InternalsVisibleTo "FSharp.Data.GraphQL.Tests" ] - | _ -> [] - - let getProjectDetails (projectPath:string) = - let projectName = System.IO.Path.GetFileNameWithoutExtension(projectPath) - ( projectPath, - projectName, - System.IO.Path.GetDirectoryName(projectPath), - (getAssemblyInfoAttributes projectName) - ) - - !! "src/**/*.fsproj" - //-- "src/FSharp.Data.GraphQL.Client.DesignTime/FSharp.Data.GraphQL.Client.DesignTime.fsproj" - |> Seq.map getProjectDetails - |> Seq.iter (fun (projFileName, _, folderName, attributes) -> - AssemblyInfoFile.createFSharp (folderName "AssemblyInfo.fs") (attributes @ internalsVisibility projFileName) - ) -) - // -------------------------------------------------------------------------------------- // Clean build results @@ -98,16 +68,10 @@ Target.create "CleanDocs" (fun _ -> // -------------------------------------------------------------------------------------- // Build library & test project -// We need to disable parallel restoring of projects to because running paket in parallel from Mono -// is giving errors in Unix based operating systems. Target.create "Restore" (fun _ -> !! "src/**/*.??proj" -- "src/**/*.shproj" - |> Seq.iter (fun pattern -> - DotNet.restore (fun options -> - { options with MSBuildParams = { options.MSBuildParams with DisableInternalBinLog = true } } - ) pattern - )) + |> Seq.iter (fun pattern -> DotNet.restore id pattern)) Target.create "Build" <| fun _ -> @@ -123,7 +87,7 @@ let startGraphQLServer (project: string) (streamRef: DataRef) = let projectName = Path.GetFileNameWithoutExtension(project) let projectPath = Path.GetDirectoryName(project) - let serverExe = projectPath "bin" "Release" "net5.0" (projectName + ".dll") + let serverExe = projectPath "bin" "Release" DotNetMoniker (projectName + ".dll") CreateProcess.fromRawCommandLine "dotnet" serverExe |> CreateProcess.withStandardInput (CreatePipe streamRef) @@ -215,22 +179,19 @@ Target.create "ReleaseDocs" (fun _ -> let pack id = Shell.cleanDir <| sprintf "nuget/%s.%s" project id - Paket.pack(fun p -> + id + |> NuGet.NuGetPack(fun p -> { p with - ToolType = ToolType.CreateLocalTool() Version = release.NugetVersion OutputPath = sprintf "nuget/%s.%s" project id - TemplateFile = sprintf "src/%s.%s/%s.%s.fsproj.paket.template" project id project id - MinimumFromLockFile = true - IncludeReferencedProjects = false }) + //IncludeReferencedProjects = false + }) let publishPackage id = pack id - Paket.push(fun p -> + NuGet.NuGetPublish(fun p -> { p with - ToolType = ToolType.CreateLocalTool() - WorkingDir = sprintf "nuget/%s.%s" project id - PublishUrl = "https://www.nuget.org/api/v2/package" }) + WorkingDir = sprintf "nuget/%s.%s" project id }) Target.create "PublishServer" (fun _ -> publishPackage "Server" @@ -269,7 +230,6 @@ Target.create "PackAll" ignore "Clean" ==> "Restore" - =?> ("AssemblyInfo", BuildServer.isLocalBuild) ==> "Build" ==> "RunUnitTests" ==> "StartStarWarsServer" @@ -287,4 +247,8 @@ Target.create "PackAll" ignore ==> "PackMiddleware" ==> "PackAll" -Target.runOrDefault "All" \ No newline at end of file +Target.runOrDefaultWithArguments "All" + +#if !FAKE +execContext.Context.Clear() +#endif \ No newline at end of file diff --git a/build.fsx.lock b/build.fsx.lock index 0981d7d53..959a8dad3 100644 --- a/build.fsx.lock +++ b/build.fsx.lock @@ -1,681 +1,5 @@ STORAGE: NONE -RESTRICTION: == netstandard2.0 +RESTRICTION: || (== net6.0) (== netstandard2.0) NUGET remote: https://api.nuget.org/v3/index.json - BlackFox.VsWhere (1.1) - FSharp.Core (>= 4.2.3) - Microsoft.Win32.Registry (>= 4.7) - Fake.Api.GitHub (5.20.4) - FSharp.Core (>= 4.7.2) - Octokit (>= 0.48) - Fake.Core.CommandLineParsing (5.20.4) - FParsec (>= 1.1.1) - FSharp.Core (>= 4.7.2) - Fake.Core.Context (5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.Environment (5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.FakeVar (5.20.4) - Fake.Core.Context (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.Process (5.20.4) - Fake.Core.Environment (>= 5.20.4) - Fake.Core.FakeVar (>= 5.20.4) - Fake.Core.String (>= 5.20.4) - Fake.Core.Trace (>= 5.20.4) - Fake.IO.FileSystem (>= 5.20.4) - FSharp.Core (>= 4.7.2) - System.Collections.Immutable (>= 1.7.1) - Fake.Core.ReleaseNotes (5.20.4) - Fake.Core.SemVer (>= 5.20.4) - Fake.Core.String (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.SemVer (5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.String (5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.Target (5.20.4) - Fake.Core.CommandLineParsing (>= 5.20.4) - Fake.Core.Context (>= 5.20.4) - Fake.Core.Environment (>= 5.20.4) - Fake.Core.FakeVar (>= 5.20.4) - Fake.Core.Process (>= 5.20.4) - Fake.Core.String (>= 5.20.4) - Fake.Core.Trace (>= 5.20.4) - FSharp.Control.Reactive (>= 4.4.2) - FSharp.Core (>= 4.7.2) - Fake.Core.Tasks (5.20.4) - Fake.Core.Trace (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.Trace (5.20.4) - Fake.Core.Environment (>= 5.20.4) - Fake.Core.FakeVar (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.UserInput (5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Core.Xml (5.20.4) - Fake.Core.String (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Fake.DotNet.AssemblyInfoFile (5.20.4) - Fake.Core.Environment (>= 5.20.4) - Fake.Core.String (>= 5.20.4) - Fake.Core.Trace (>= 5.20.4) - Fake.IO.FileSystem (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Fake.DotNet.Cli (5.20.4) - Fake.Core.Environment (>= 5.20.4) - Fake.Core.Process (>= 5.20.4) - Fake.Core.String (>= 5.20.4) - Fake.Core.Trace (>= 5.20.4) - Fake.DotNet.MSBuild (>= 5.20.4) - Fake.DotNet.NuGet (>= 5.20.4) - Fake.IO.FileSystem (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Mono.Posix.NETStandard (>= 1.0) - Newtonsoft.Json (>= 12.0.3) - Fake.DotNet.Fsc (5.20.4) - Fake.Core.Process (>= 5.20.4) - Fake.Core.Trace (>= 5.20.4) - Fake.IO.FileSystem (>= 5.20.4) - FSharp.Compiler.Service (>= 37.0) - FSharp.Core (>= 4.7.2) - Fake.DotNet.MSBuild (5.20.4) - BlackFox.VsWhere (>= 1.1) - Fake.Core.Environment (>= 5.20.4) - Fake.Core.Process (>= 5.20.4) - Fake.Core.String (>= 5.20.4) - Fake.Core.Trace (>= 5.20.4) - Fake.IO.FileSystem (>= 5.20.4) - FSharp.Core (>= 4.7.2) - MSBuild.StructuredLogger (>= 2.1.176) - Fake.DotNet.NuGet (5.20.4) - Fake.Core.Environment (>= 5.20.4) - Fake.Core.Process (>= 5.20.4) - Fake.Core.SemVer (>= 5.20.4) - Fake.Core.String (>= 5.20.4) - Fake.Core.Tasks (>= 5.20.4) - Fake.Core.Trace (>= 5.20.4) - Fake.Core.Xml (>= 5.20.4) - Fake.IO.FileSystem (>= 5.20.4) - Fake.Net.Http (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Newtonsoft.Json (>= 12.0.3) - NuGet.Protocol (>= 5.6) - Fake.DotNet.Paket (5.20.4) - Fake.Core.Process (>= 5.20.4) - Fake.Core.String (>= 5.20.4) - Fake.Core.Trace (>= 5.20.4) - Fake.DotNet.Cli (>= 5.20.4) - Fake.IO.FileSystem (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Fake.IO.FileSystem (5.20.4) - Fake.Core.String (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Net.Http (5.20.4) - Fake.Core.Trace (>= 5.20.4) - FSharp.Core (>= 4.7.2) - Fake.Tools.Git (5.20.4) - Fake.Core.Environment (>= 5.20.4) - Fake.Core.Process (>= 5.20.4) - Fake.Core.SemVer (>= 5.20.4) - Fake.Core.String (>= 5.20.4) - Fake.Core.Trace (>= 5.20.4) - Fake.IO.FileSystem (>= 5.20.4) - FSharp.Core (>= 4.7.2) - FParsec (1.1.1) - FSharp.Core (>= 4.3.4) - FSharp.Compiler.Service (39.0) - FSharp.Core (5.0.1) - Microsoft.Build.Framework (>= 16.6) - Microsoft.Build.Tasks.Core (>= 16.6) - Microsoft.Build.Utilities.Core (>= 16.6) - System.Buffers (>= 4.5.1) - System.Collections.Immutable (>= 5.0) - System.Diagnostics.Process (>= 4.3) - System.Diagnostics.TraceSource (>= 4.3) - System.Linq.Expressions (>= 4.3) - System.Linq.Queryable (>= 4.3) - System.Memory (>= 4.5.4) - System.Net.Requests (>= 4.3) - System.Net.Security (>= 4.3) - System.Reflection.Emit (>= 4.3) - System.Reflection.Metadata (>= 5.0) - System.Reflection.TypeExtensions (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.Runtime.Loader (>= 4.3) - System.Security.Claims (>= 4.3) - System.Security.Cryptography.Algorithms (>= 4.3) - System.Security.Principal (>= 4.3) - System.Threading.Tasks.Parallel (>= 4.3) - System.Threading.Thread (>= 4.3) - System.Threading.ThreadPool (>= 4.3) - FSharp.Control.Reactive (5.0.2) - FSharp.Core (>= 4.7.2) - System.Reactive (>= 5.0) - FSharp.Core (5.0.1) - Microsoft.Build (16.9) - Microsoft.Build.Framework (16.9) - System.Security.Permissions (>= 4.7) - Microsoft.Build.Tasks.Core (16.9) - Microsoft.Build.Framework (>= 16.9) - Microsoft.Build.Utilities.Core (>= 16.9) - Microsoft.Win32.Registry (>= 4.3) - System.CodeDom (>= 4.4) - System.Collections.Immutable (>= 5.0) - System.Reflection.Metadata (>= 1.6) - System.Reflection.TypeExtensions (>= 4.1) - System.Resources.Extensions (>= 4.6) - System.Runtime.InteropServices (>= 4.3) - System.Security.Cryptography.Pkcs (>= 4.7) - System.Security.Cryptography.Xml (>= 4.7) - System.Security.Permissions (>= 4.7) - System.Threading.Tasks.Dataflow (>= 4.9) - Microsoft.Build.Utilities.Core (16.9) - Microsoft.Build.Framework (>= 16.9) - Microsoft.Win32.Registry (>= 4.3) - System.Collections.Immutable (>= 5.0) - System.Security.Permissions (>= 4.7) - System.Text.Encoding.CodePages (>= 4.0.1) - Microsoft.NETCore.Platforms (5.0.2) - Microsoft.NETCore.Targets (5.0) - Microsoft.Win32.Primitives (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - Microsoft.Win32.Registry (5.0) - System.Buffers (>= 4.5.1) - System.Memory (>= 4.5.4) - System.Security.AccessControl (>= 5.0) - System.Security.Principal.Windows (>= 5.0) - Mono.Posix.NETStandard (1.0) - MSBuild.StructuredLogger (2.1.404) - Microsoft.Build (>= 16.4) - Microsoft.Build.Framework (>= 16.4) - Microsoft.Build.Tasks.Core (>= 16.4) - Microsoft.Build.Utilities.Core (>= 16.4) - Newtonsoft.Json (13.0.1) - NuGet.Common (5.9) - NuGet.Frameworks (>= 5.9) - NuGet.Configuration (5.9) - NuGet.Common (>= 5.9) - System.Security.Cryptography.ProtectedData (>= 4.4) - NuGet.Frameworks (5.9) - NuGet.Packaging (5.9) - Newtonsoft.Json (>= 9.0.1) - NuGet.Configuration (>= 5.9) - NuGet.Versioning (>= 5.9) - System.Security.Cryptography.Cng (>= 5.0) - System.Security.Cryptography.Pkcs (>= 5.0) - NuGet.Protocol (5.9) - NuGet.Packaging (>= 5.9) - NuGet.Versioning (5.9) - Octokit (0.50) - runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.debian.9-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.fedora.27-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.fedora.28-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.native.System (4.3.1) - Microsoft.NETCore.Platforms (>= 1.1.1) - Microsoft.NETCore.Targets (>= 1.1.3) - runtime.native.System.Net.Http (4.3.1) - Microsoft.NETCore.Platforms (>= 1.1.1) - Microsoft.NETCore.Targets (>= 1.1.3) - runtime.native.System.Net.Security (4.3.1) - Microsoft.NETCore.Platforms (>= 1.1.1) - Microsoft.NETCore.Targets (>= 1.1.3) - runtime.native.System.Security.Cryptography.Apple (4.3.1) - runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple (>= 4.3.1) - runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.debian.9-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.fedora.27-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.fedora.28-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.opensuse.42.3-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.ubuntu.18.04-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.opensuse.42.3-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple (4.3.1) - runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.ubuntu.18.04-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - System.Buffers (4.5.1) - System.CodeDom (5.0) - System.Collections (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Collections.Concurrent (4.3) - System.Collections (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Diagnostics.Tracing (>= 4.3) - System.Globalization (>= 4.3) - System.Reflection (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Threading (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.Collections.Immutable (5.0) - System.Memory (>= 4.5.4) - System.Diagnostics.Debug (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Diagnostics.DiagnosticSource (5.0.1) - System.Memory (>= 4.5.4) - System.Runtime.CompilerServices.Unsafe (>= 5.0) - System.Diagnostics.Process (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.Win32.Primitives (>= 4.3) - Microsoft.Win32.Registry (>= 4.3) - runtime.native.System (>= 4.3) - System.Collections (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Globalization (>= 4.3) - System.IO (>= 4.3) - System.IO.FileSystem (>= 4.3) - System.IO.FileSystem.Primitives (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Text.Encoding.Extensions (>= 4.3) - System.Threading (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.Threading.Thread (>= 4.3) - System.Threading.ThreadPool (>= 4.3) - System.Diagnostics.TraceSource (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - runtime.native.System (>= 4.3) - System.Collections (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Globalization (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Threading (>= 4.3) - System.Diagnostics.Tracing (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Formats.Asn1 (5.0) - System.Buffers (>= 4.5.1) - System.Memory (>= 4.5.4) - System.Globalization (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Globalization.Calendars (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Globalization (>= 4.3) - System.Runtime (>= 4.3) - System.Globalization.Extensions (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - System.Globalization (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.IO (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.IO.FileSystem (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.IO (>= 4.3) - System.IO.FileSystem.Primitives (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.IO.FileSystem.Primitives (4.3) - System.Runtime (>= 4.3) - System.Linq (4.3) - System.Collections (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Linq.Expressions (4.3) - System.Collections (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Globalization (>= 4.3) - System.IO (>= 4.3) - System.Linq (>= 4.3) - System.ObjectModel (>= 4.3) - System.Reflection (>= 4.3) - System.Reflection.Emit (>= 4.3) - System.Reflection.Emit.ILGeneration (>= 4.3) - System.Reflection.Emit.Lightweight (>= 4.3) - System.Reflection.Extensions (>= 4.3) - System.Reflection.Primitives (>= 4.3) - System.Reflection.TypeExtensions (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Threading (>= 4.3) - System.Linq.Queryable (4.3) - System.Collections (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Linq (>= 4.3) - System.Linq.Expressions (>= 4.3) - System.Reflection (>= 4.3) - System.Reflection.Extensions (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Memory (4.5.4) - System.Buffers (>= 4.5.1) - System.Numerics.Vectors (>= 4.4) - System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - System.Net.Http (4.3.4) - Microsoft.NETCore.Platforms (>= 1.1.1) - runtime.native.System (>= 4.3) - runtime.native.System.Net.Http (>= 4.3) - runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.2) - System.Collections (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Diagnostics.DiagnosticSource (>= 4.3) - System.Diagnostics.Tracing (>= 4.3) - System.Globalization (>= 4.3) - System.Globalization.Extensions (>= 4.3) - System.IO (>= 4.3) - System.IO.FileSystem (>= 4.3) - System.Net.Primitives (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.Security.Cryptography.Algorithms (>= 4.3) - System.Security.Cryptography.Encoding (>= 4.3) - System.Security.Cryptography.OpenSsl (>= 4.3) - System.Security.Cryptography.Primitives (>= 4.3) - System.Security.Cryptography.X509Certificates (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Threading (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.Net.Primitives (4.3.1) - Microsoft.NETCore.Platforms (>= 1.1.1) - Microsoft.NETCore.Targets (>= 1.1.3) - System.Runtime (>= 4.3.1) - System.Runtime.Handles (>= 4.3) - System.Net.Requests (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - System.Collections (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Diagnostics.Tracing (>= 4.3) - System.Globalization (>= 4.3) - System.IO (>= 4.3) - System.Net.Http (>= 4.3) - System.Net.Primitives (>= 4.3) - System.Net.WebHeaderCollection (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Threading (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.Net.Security (4.3.2) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.Win32.Primitives (>= 4.3) - runtime.native.System (>= 4.3) - runtime.native.System.Net.Security (>= 4.3) - runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.2) - System.Collections (>= 4.3) - System.Collections.Concurrent (>= 4.3) - System.Diagnostics.Tracing (>= 4.3) - System.Globalization (>= 4.3) - System.Globalization.Extensions (>= 4.3) - System.IO (>= 4.3) - System.Net.Primitives (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.Security.Claims (>= 4.3) - System.Security.Cryptography.Algorithms (>= 4.3) - System.Security.Cryptography.Encoding (>= 4.3) - System.Security.Cryptography.OpenSsl (>= 4.3) - System.Security.Cryptography.Primitives (>= 4.3) - System.Security.Cryptography.X509Certificates (>= 4.3) - System.Security.Principal (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Threading (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.Threading.ThreadPool (>= 4.3) - System.Net.WebHeaderCollection (4.3) - System.Collections (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Numerics.Vectors (4.5) - System.ObjectModel (4.3) - System.Collections (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Threading (>= 4.3) - System.Reactive (5.0) - System.Runtime.InteropServices.WindowsRuntime (>= 4.3) - System.Threading.Tasks.Extensions (>= 4.5.4) - System.Reflection (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.IO (>= 4.3) - System.Reflection.Primitives (>= 4.3) - System.Runtime (>= 4.3) - System.Reflection.Emit (4.7) - System.Reflection.Emit.ILGeneration (>= 4.7) - System.Reflection.Emit.ILGeneration (4.7) - System.Reflection.Emit.Lightweight (4.7) - System.Reflection.Emit.ILGeneration (>= 4.7) - System.Reflection.Extensions (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Reflection (>= 4.3) - System.Runtime (>= 4.3) - System.Reflection.Metadata (5.0) - System.Collections.Immutable (>= 5.0) - System.Reflection.Primitives (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Reflection.TypeExtensions (4.7) - System.Resources.Extensions (5.0) - System.Memory (>= 4.5.4) - System.Resources.ResourceManager (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Globalization (>= 4.3) - System.Reflection (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime (4.3.1) - Microsoft.NETCore.Platforms (>= 1.1.1) - Microsoft.NETCore.Targets (>= 1.1.3) - System.Runtime.CompilerServices.Unsafe (5.0) - System.Runtime.Extensions (4.3.1) - Microsoft.NETCore.Platforms (>= 1.1.1) - Microsoft.NETCore.Targets (>= 1.1.3) - System.Runtime (>= 4.3.1) - System.Runtime.Handles (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Runtime.InteropServices (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Reflection (>= 4.3) - System.Reflection.Primitives (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Runtime.InteropServices.WindowsRuntime (4.3) - System.Runtime (>= 4.3) - System.Runtime.Loader (4.3) - System.IO (>= 4.3) - System.Reflection (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Numerics (4.3) - System.Globalization (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Security.AccessControl (5.0) - System.Security.Principal.Windows (>= 5.0) - System.Security.Claims (4.3) - System.Collections (>= 4.3) - System.Globalization (>= 4.3) - System.IO (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Security.Principal (>= 4.3) - System.Security.Cryptography.Algorithms (4.3.1) - Microsoft.NETCore.Platforms (>= 1.1) - runtime.native.System.Security.Cryptography.Apple (>= 4.3.1) - runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.2) - System.Collections (>= 4.3) - System.IO (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.Runtime.Numerics (>= 4.3) - System.Security.Cryptography.Encoding (>= 4.3) - System.Security.Cryptography.Primitives (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Security.Cryptography.Cng (5.0) - System.Security.Cryptography.Csp (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - System.IO (>= 4.3) - System.Reflection (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.Security.Cryptography.Algorithms (>= 4.3) - System.Security.Cryptography.Encoding (>= 4.3) - System.Security.Cryptography.Primitives (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Threading (>= 4.3) - System.Security.Cryptography.Encoding (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3) - System.Collections (>= 4.3) - System.Collections.Concurrent (>= 4.3) - System.Linq (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.Security.Cryptography.Primitives (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Security.Cryptography.OpenSsl (5.0) - System.Security.Cryptography.Pkcs (5.0.1) - System.Buffers (>= 4.5.1) - System.Formats.Asn1 (>= 5.0) - System.Memory (>= 4.5.4) - System.Security.Cryptography.Cng (>= 5.0) - System.Security.Cryptography.Primitives (4.3) - System.Diagnostics.Debug (>= 4.3) - System.Globalization (>= 4.3) - System.IO (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Threading (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.Security.Cryptography.ProtectedData (5.0) - System.Memory (>= 4.5.4) - System.Security.Cryptography.X509Certificates (4.3.2) - Microsoft.NETCore.Platforms (>= 1.1) - runtime.native.System (>= 4.3) - runtime.native.System.Net.Http (>= 4.3) - runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.2) - System.Collections (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Globalization (>= 4.3) - System.Globalization.Calendars (>= 4.3) - System.IO (>= 4.3) - System.IO.FileSystem (>= 4.3) - System.IO.FileSystem.Primitives (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.Runtime.Numerics (>= 4.3) - System.Security.Cryptography.Algorithms (>= 4.3) - System.Security.Cryptography.Cng (>= 4.3) - System.Security.Cryptography.Csp (>= 4.3) - System.Security.Cryptography.Encoding (>= 4.3) - System.Security.Cryptography.OpenSsl (>= 4.3) - System.Security.Cryptography.Primitives (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Threading (>= 4.3) - System.Security.Cryptography.Xml (5.0) - System.Memory (>= 4.5.4) - System.Security.Cryptography.Pkcs (>= 5.0) - System.Security.Permissions (>= 5.0) - System.Security.Permissions (5.0) - System.Security.AccessControl (>= 5.0) - System.Security.Principal (4.3) - System.Runtime (>= 4.3) - System.Security.Principal.Windows (5.0) - System.Text.Encoding (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Text.Encoding.CodePages (5.0) - System.Runtime.CompilerServices.Unsafe (>= 5.0) - System.Text.Encoding.Extensions (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Threading (4.3) - System.Runtime (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.Threading.Tasks (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Threading.Tasks.Dataflow (5.0) - System.Threading.Tasks.Extensions (4.5.4) - System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - System.Threading.Tasks.Parallel (4.3) - System.Collections.Concurrent (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Diagnostics.Tracing (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Threading (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.Threading.Thread (4.3) - System.Runtime (>= 4.3) - System.Threading.ThreadPool (4.3) - System.Runtime (>= 4.3) - System.Runtime.Handles (>= 4.3) + FSharp.Core (6.0.5) diff --git a/build.sh b/build.sh index 038454dab..1edb1ddf3 100755 --- a/build.sh +++ b/build.sh @@ -4,4 +4,4 @@ set -eu set -o pipefail dotnet tool restore -dotnet fake run build.fsx "$@" \ No newline at end of file +dotnet fsi build.fsx "$@" \ No newline at end of file diff --git a/global.json b/global.json index c9637a5b5..e7813d8db 100644 --- a/global.json +++ b/global.json @@ -1,7 +1,7 @@ { - "sdk": { - "version": "5.0.100", - "rollForward": "latestFeature" - }, - "projects": ["src", "tests"] + "sdk": { + "version": "6.0.400", + "rollForward": "latestMinor" + }, + "projects": [ "src", "tests" ] } \ No newline at end of file diff --git a/paket.dependencies b/paket.dependencies deleted file mode 100644 index 092d9ae36..000000000 --- a/paket.dependencies +++ /dev/null @@ -1,41 +0,0 @@ -source https://api.nuget.org/v3/index.json - -nuget NuGet.CommandLine - -group Common - source https://api.nuget.org/v3/index.json - frameworks: net5.0, netstandard2.0 - - nuget System.Reactive - - # Be explicit about FSharp.Core 4.7.2 when designing libraries. - # See https://fsharp.github.io/2015/04/18/fsharp-core-notes.html#fsharpcore-entries-in-project-files for additional information. - nuget FSharp.Core 4.7.2 - - # FParsec needs to be explicit for the client provider design time reference. - # This should not be a problem since FParsec almost never gets a new release. - nuget FParsec 1.1.1 - - nuget Microsoft.Extensions.Http 5 - - # Those are needed for the client type provider. - github fsprojects/FSharp.TypeProviders.SDK:377d56321ad062985ed5aa19f205c1c4f04ef328 src/ProvidedTypes.fsi - github fsprojects/FSharp.TypeProviders.SDK:377d56321ad062985ed5aa19f205c1c4f04ef328 src/ProvidedTypes.fs - -group TestsAndSamples - source https://api.nuget.org/v3/index.json - frameworks: net5.0, netstandard2.0 - - nuget Microsoft.Extensions.Http 5 - nuget System.Net.Http 4.3.4 - nuget FSharp.Core - nuget Newtonsoft.Json - nuget Suave - nuget Giraffe - nuget Microsoft.NET.Test.Sdk - nuget xunit - nuget xunit.runner.utility - nuget xunit.runner.console - nuget xunit.runner.visualstudio - nuget BenchmarkDotNet - nuget FSharp.Data.TypeProviders \ No newline at end of file diff --git a/paket.lock b/paket.lock deleted file mode 100644 index 86700f6ee..000000000 --- a/paket.lock +++ /dev/null @@ -1,641 +0,0 @@ -NUGET - remote: https://api.nuget.org/v3/index.json - NuGet.CommandLine (5.8.1) - -GROUP Common -RESTRICTION: || (== net50) (== netstandard2.0) -NUGET - remote: https://api.nuget.org/v3/index.json - FParsec (1.1.1) - FSharp.Core (>= 4.3.4) - FSharp.Core (4.7.2) - Microsoft.Bcl.AsyncInterfaces (5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netstandard2.1)) (== netstandard2.0) - System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.1) (< netstandard2.1)) (== netstandard2.0) - Microsoft.Extensions.DependencyInjection (5.0.1) - Microsoft.Bcl.AsyncInterfaces (>= 5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netstandard2.1)) (== netstandard2.0) - Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0) - System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.1) (< netstandard2.1)) (== netstandard2.0) - Microsoft.Extensions.DependencyInjection.Abstractions (5.0) - Microsoft.Extensions.Http (5.0) - Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0) - Microsoft.Extensions.Logging (>= 5.0) - Microsoft.Extensions.Logging.Abstractions (>= 5.0) - Microsoft.Extensions.Options (>= 5.0) - Microsoft.Extensions.Logging (5.0) - Microsoft.Extensions.DependencyInjection (>= 5.0) - Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0) - Microsoft.Extensions.Logging.Abstractions (>= 5.0) - Microsoft.Extensions.Options (>= 5.0) - System.Diagnostics.DiagnosticSource (>= 5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netstandard2.1)) (== netstandard2.0) - Microsoft.Extensions.Logging.Abstractions (5.0) - Microsoft.Extensions.Options (5.0) - Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0) - Microsoft.Extensions.Primitives (>= 5.0) - Microsoft.Extensions.Primitives (5.0.1) - System.Buffers (>= 4.5.1) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netstandard2.0) (>= xamarintvos)) (&& (== net50) (< netstandard2.0) (>= xamarinwatchos)) (== netstandard2.0) - System.Memory (>= 4.5.4) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Runtime.CompilerServices.Unsafe (>= 5.0) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (< netcoreapp3.0)) (&& (== net50) (< netstandard2.0) (>= xamarintvos)) (&& (== net50) (< netstandard2.0) (>= xamarinwatchos)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - Microsoft.NETCore.Platforms (5.0.2) - restriction: || (&& (== net50) (< netcoreapp3.1)) (&& (== net50) (< netstandard1.2)) (&& (== net50) (< netstandard1.3)) (&& (== net50) (< netstandard1.5)) (== netstandard2.0) - Microsoft.NETCore.Targets (5.0) - restriction: || (&& (== net50) (< netcoreapp3.1)) (&& (== net50) (< netstandard1.2)) (&& (== net50) (< netstandard1.3)) (&& (== net50) (< netstandard1.5)) (== netstandard2.0) - System.Buffers (4.5.1) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netstandard2.0) (>= xamarintvos)) (&& (== net50) (< netstandard2.0) (>= xamarinwatchos)) (== netstandard2.0) - System.Diagnostics.DiagnosticSource (5.0.1) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netstandard2.1)) (== netstandard2.0) - System.Memory (>= 4.5.4) - restriction: || (&& (== net50) (>= net45) (< netstandard1.3)) (&& (== net50) (>= net46)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Runtime.CompilerServices.Unsafe (>= 5.0) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net45) (< netstandard1.3)) (&& (== net50) (>= net46)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (< netcoreapp3.0)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Memory (4.5.4) - restriction: || (&& (== net50) (>= net45) (< netstandard1.3)) (&& (== net50) (>= net46)) (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.1) (< netstandard2.1)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Buffers (>= 4.5.1) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netstandard1.1)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= xamarinios)) (&& (== net50) (>= xamarinmac)) (&& (== net50) (>= xamarintvos)) (&& (== net50) (>= xamarinwatchos)) (== netstandard2.0) - System.Numerics.Vectors (>= 4.4) - restriction: || (&& (== net50) (< netcoreapp2.0)) (== netstandard2.0) - System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (< netstandard1.1)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= uap10.1)) (&& (== net50) (>= xamarinios)) (&& (== net50) (>= xamarinmac)) (&& (== net50) (>= xamarintvos)) (&& (== net50) (>= xamarinwatchos)) (== netstandard2.0) - System.Numerics.Vectors (4.5) - restriction: || (&& (== net50) (>= net45) (< netstandard1.3)) (&& (== net50) (>= net46)) (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0) (< netstandard2.1)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Reactive (5.0) - System.Runtime.InteropServices.WindowsRuntime (>= 4.3) - restriction: || (&& (== net50) (< netcoreapp3.1)) (== netstandard2.0) - System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net50) (>= net472)) (&& (== net50) (< netcoreapp3.1)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Runtime (4.3.1) - restriction: || (&& (== net50) (< netcoreapp3.1)) (== netstandard2.0) - Microsoft.NETCore.Platforms (>= 1.1.1) - Microsoft.NETCore.Targets (>= 1.1.3) - System.Runtime.CompilerServices.Unsafe (5.0) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net45) (< netstandard1.3)) (&& (== net50) (>= net46)) (&& (== net50) (>= net461)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (< netstandard2.1)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Runtime.InteropServices.WindowsRuntime (4.3) - restriction: || (&& (== net50) (< netcoreapp3.1)) (== netstandard2.0) - System.Runtime (>= 4.3) - System.Threading.Tasks.Extensions (4.5.4) - restriction: || (&& (== net50) (>= net472)) (&& (== net50) (< netcoreapp3.1)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (< netstandard1.0)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= wp8)) (== netstandard2.0) -GITHUB - remote: fsprojects/FSharp.TypeProviders.SDK - src/ProvidedTypes.fs (377d56321ad062985ed5aa19f205c1c4f04ef328) - src/ProvidedTypes.fsi (377d56321ad062985ed5aa19f205c1c4f04ef328) -GROUP TestsAndSamples -RESTRICTION: || (== net50) (== netstandard2.0) -NUGET - remote: https://api.nuget.org/v3/index.json - BenchmarkDotNet (0.12.1) - BenchmarkDotNet.Annotations (>= 0.12.1) - CommandLineParser (>= 2.4.3) - Iced (>= 1.4) - Microsoft.CodeAnalysis.CSharp (>= 2.10) - Microsoft.Diagnostics.NETCore.Client (>= 0.2.61701) - Microsoft.Diagnostics.Runtime (>= 1.1.57604) - Microsoft.Diagnostics.Tracing.TraceEvent (>= 2.0.49) - Microsoft.DotNet.PlatformAbstractions (>= 2.1) - Microsoft.Win32.Registry (>= 4.5) - Perfolizer (>= 0.2.1) - System.Management (>= 4.5) - System.Reflection.Emit (>= 4.3) - System.Reflection.Emit.Lightweight (>= 4.3) - System.Threading.Tasks.Extensions (>= 4.5.2) - System.ValueTuple (>= 4.5) - BenchmarkDotNet.Annotations (0.12.1) - CommandLineParser (2.8) - FSharp.Core (5.0.1) - FSharp.Data.TypeProviders (5.0.0.6) - FSharp.Core (>= 3.1.2.5) - Giraffe (4.1) - FSharp.Core (>= 4.7) - Microsoft.AspNetCore.Authentication (>= 2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Authorization (>= 2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Diagnostics (>= 2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Hosting.Abstractions (>= 2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.ResponseCaching (>= 2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.IO.RecyclableMemoryStream (>= 1.2.2) - Newtonsoft.Json (>= 12.0.2) - TaskBuilder.fs (>= 2.1) - Utf8Json (>= 1.3.7) - Iced (1.11) - Microsoft.AspNetCore.Authentication (2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Authentication.Core (>= 2.2) - Microsoft.AspNetCore.DataProtection (>= 2.2) - Microsoft.AspNetCore.Http (>= 2.2) - Microsoft.AspNetCore.Http.Extensions (>= 2.2) - Microsoft.Extensions.Logging.Abstractions (>= 2.2) - Microsoft.Extensions.Options (>= 2.2) - Microsoft.Extensions.WebEncoders (>= 2.2) - Microsoft.AspNetCore.Authentication.Abstractions (2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Http.Abstractions (>= 2.2) - Microsoft.Extensions.Logging.Abstractions (>= 2.2) - Microsoft.Extensions.Options (>= 2.2) - Microsoft.AspNetCore.Authentication.Core (2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Authentication.Abstractions (>= 2.2) - Microsoft.AspNetCore.Http (>= 2.2) - Microsoft.AspNetCore.Http.Extensions (>= 2.2) - Microsoft.AspNetCore.Authorization (5.0.5) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Metadata (>= 5.0.5) - Microsoft.Extensions.Logging.Abstractions (>= 5.0) - Microsoft.Extensions.Options (>= 5.0) - Microsoft.AspNetCore.Cryptography.Internal (5.0.5) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.DataProtection (5.0.5) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Cryptography.Internal (>= 5.0.5) - Microsoft.AspNetCore.DataProtection.Abstractions (>= 5.0.5) - Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0) - Microsoft.Extensions.Hosting.Abstractions (>= 5.0) - Microsoft.Extensions.Logging.Abstractions (>= 5.0) - Microsoft.Extensions.Options (>= 5.0) - Microsoft.Win32.Registry (>= 5.0) - System.Security.Cryptography.Xml (>= 5.0) - System.Security.Principal.Windows (>= 5.0) - restriction: == netstandard2.0 - Microsoft.AspNetCore.DataProtection.Abstractions (5.0.5) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Diagnostics (2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Diagnostics.Abstractions (>= 2.2) - Microsoft.AspNetCore.Hosting.Abstractions (>= 2.2) - Microsoft.AspNetCore.Http.Extensions (>= 2.2) - Microsoft.AspNetCore.WebUtilities (>= 2.2) - Microsoft.Extensions.FileProviders.Physical (>= 2.2) - Microsoft.Extensions.Logging.Abstractions (>= 2.2) - Microsoft.Extensions.Options (>= 2.2) - System.Diagnostics.DiagnosticSource (>= 4.5) - System.Reflection.Metadata (>= 1.6) - Microsoft.AspNetCore.Diagnostics.Abstractions (2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Hosting.Abstractions (2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Hosting.Server.Abstractions (>= 2.2) - Microsoft.AspNetCore.Http.Abstractions (>= 2.2) - Microsoft.Extensions.Hosting.Abstractions (>= 2.2) - Microsoft.AspNetCore.Hosting.Server.Abstractions (2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Http.Features (>= 2.2) - Microsoft.Extensions.Configuration.Abstractions (>= 2.2) - Microsoft.AspNetCore.Http (2.2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Http.Abstractions (>= 2.2) - Microsoft.AspNetCore.WebUtilities (>= 2.2) - Microsoft.Extensions.ObjectPool (>= 2.2) - Microsoft.Extensions.Options (>= 2.2) - Microsoft.Net.Http.Headers (>= 2.2) - Microsoft.AspNetCore.Http.Abstractions (2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Http.Features (>= 2.2) - System.Text.Encodings.Web (>= 4.5) - Microsoft.AspNetCore.Http.Extensions (2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Http.Abstractions (>= 2.2) - Microsoft.Extensions.FileProviders.Abstractions (>= 2.2) - Microsoft.Net.Http.Headers (>= 2.2) - System.Buffers (>= 4.5) - Microsoft.AspNetCore.Http.Features (5.0.5) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.Extensions.Primitives (>= 5.0.1) - System.IO.Pipelines (>= 5.0.1) - Microsoft.AspNetCore.Metadata (5.0.5) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.ResponseCaching (2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.AspNetCore.Http (>= 2.2) - Microsoft.AspNetCore.Http.Extensions (>= 2.2) - Microsoft.AspNetCore.ResponseCaching.Abstractions (>= 2.2) - Microsoft.Extensions.Caching.Memory (>= 2.2) - Microsoft.Extensions.Logging.Abstractions (>= 2.2) - Microsoft.AspNetCore.ResponseCaching.Abstractions (2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.Extensions.Primitives (>= 2.2) - Microsoft.AspNetCore.WebUtilities (2.2) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.Net.Http.Headers (>= 2.2) - System.Text.Encodings.Web (>= 4.5) - Microsoft.Bcl.AsyncInterfaces (5.0) - System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.1) (< netstandard2.1)) (== netstandard2.0) - Microsoft.CodeAnalysis.Analyzers (3.3.2) - Microsoft.CodeAnalysis.Common (3.9) - Microsoft.CodeAnalysis.Analyzers (>= 3.0) - System.Collections.Immutable (>= 5.0) - System.Memory (>= 4.5.4) - System.Reflection.Metadata (>= 5.0) - System.Runtime.CompilerServices.Unsafe (>= 5.0) - System.Text.Encoding.CodePages (>= 4.5.1) - System.Threading.Tasks.Extensions (>= 4.5.4) - Microsoft.CodeAnalysis.CSharp (3.9) - Microsoft.CodeAnalysis.Common (3.9) - Microsoft.CodeCoverage (16.9.4) - restriction: || (== net50) (&& (== netstandard2.0) (>= net45)) (&& (== netstandard2.0) (>= netcoreapp1.0)) - Microsoft.Diagnostics.NETCore.Client (0.2.217401) - Microsoft.Bcl.AsyncInterfaces (>= 1.1) - Microsoft.Diagnostics.Runtime (2.0.217201) - Microsoft.Diagnostics.NETCore.Client (>= 0.2.61701) - System.Buffers (>= 4.5.1) - System.Collections.Immutable (>= 1.7.1) - System.Memory (>= 4.5.4) - System.Reflection.Metadata (>= 1.8.1) - System.Runtime.CompilerServices.Unsafe (>= 4.7.1) - Microsoft.Diagnostics.Tracing.TraceEvent (2.0.66) - System.Runtime.CompilerServices.Unsafe (>= 4.5.2) - Microsoft.DotNet.PlatformAbstractions (3.1.6) - Microsoft.Extensions.Caching.Abstractions (5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.Extensions.Primitives (>= 5.0) - Microsoft.Extensions.Caching.Memory (5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.Extensions.Caching.Abstractions (>= 5.0) - Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0) - Microsoft.Extensions.Logging.Abstractions (>= 5.0) - Microsoft.Extensions.Options (>= 5.0) - Microsoft.Extensions.Primitives (>= 5.0) - Microsoft.Extensions.Configuration.Abstractions (5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (< netcoreapp3.0)) (&& (== net50) (< netstandard2.1)) (== netstandard2.0) - Microsoft.Extensions.Primitives (>= 5.0) - Microsoft.Extensions.DependencyInjection (5.0.1) - Microsoft.Bcl.AsyncInterfaces (>= 5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netstandard2.1)) (== netstandard2.0) - Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0) - System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.1) (< netstandard2.1)) (== netstandard2.0) - Microsoft.Extensions.DependencyInjection.Abstractions (5.0) - Microsoft.Extensions.FileProviders.Abstractions (5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.Extensions.Primitives (>= 5.0) - Microsoft.Extensions.FileProviders.Physical (5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.Extensions.FileProviders.Abstractions (>= 5.0) - Microsoft.Extensions.FileSystemGlobbing (>= 5.0) - Microsoft.Extensions.Primitives (>= 5.0) - Microsoft.Extensions.FileSystemGlobbing (5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.Extensions.Hosting.Abstractions (5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.Bcl.AsyncInterfaces (>= 5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netstandard2.1)) (== netstandard2.0) - Microsoft.Extensions.Configuration.Abstractions (>= 5.0) - Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0) - Microsoft.Extensions.FileProviders.Abstractions (>= 5.0) - System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.1) (< netstandard2.1)) (== netstandard2.0) - Microsoft.Extensions.Http (5.0) - Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0) - Microsoft.Extensions.Logging (>= 5.0) - Microsoft.Extensions.Logging.Abstractions (>= 5.0) - Microsoft.Extensions.Options (>= 5.0) - Microsoft.Extensions.Logging (5.0) - Microsoft.Extensions.DependencyInjection (>= 5.0) - Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0) - Microsoft.Extensions.Logging.Abstractions (>= 5.0) - Microsoft.Extensions.Options (>= 5.0) - System.Diagnostics.DiagnosticSource (>= 5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netstandard2.1)) (== netstandard2.0) - Microsoft.Extensions.Logging.Abstractions (5.0) - Microsoft.Extensions.ObjectPool (5.0.5) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.Extensions.Options (5.0) - Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0) - Microsoft.Extensions.Primitives (>= 5.0) - Microsoft.Extensions.Primitives (5.0.1) - System.Buffers (>= 4.5.1) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netstandard2.0) (>= xamarintvos)) (&& (== net50) (< netstandard2.0) (>= xamarinwatchos)) (== netstandard2.0) - System.Memory (>= 4.5.4) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Runtime.CompilerServices.Unsafe (>= 5.0) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (< netcoreapp3.0)) (&& (== net50) (< netstandard2.0) (>= xamarintvos)) (&& (== net50) (< netstandard2.0) (>= xamarinwatchos)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - Microsoft.Extensions.WebEncoders (5.0.5) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.Extensions.DependencyInjection.Abstractions (>= 5.0) - Microsoft.Extensions.Options (>= 5.0) - System.Text.Encodings.Web (>= 5.0.1) - restriction: || (&& (== net50) (>= net461)) (== netstandard2.0) - Microsoft.IO.RecyclableMemoryStream (2.0) - Microsoft.Net.Http.Headers (2.2.8) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - Microsoft.Extensions.Primitives (>= 2.2) - System.Buffers (>= 4.5) - Microsoft.NET.Test.Sdk (16.9.4) - Microsoft.CodeCoverage (>= 16.9.4) - restriction: || (== net50) (&& (== netstandard2.0) (>= net45)) (&& (== netstandard2.0) (>= netcoreapp1.0)) - Microsoft.TestPlatform.TestHost (>= 16.9.4) - restriction: || (== net50) (&& (== netstandard2.0) (>= netcoreapp1.0)) - Microsoft.NETCore.Platforms (5.0.2) - Microsoft.NETCore.Targets (5.0) - Microsoft.TestPlatform.ObjectModel (16.9.4) - restriction: || (== net50) (&& (== netstandard2.0) (>= netcoreapp1.0)) - NuGet.Frameworks (>= 5.0) - System.Reflection.Metadata (>= 1.6) - Microsoft.TestPlatform.TestHost (16.9.4) - restriction: || (== net50) (&& (== netstandard2.0) (>= netcoreapp1.0)) - Microsoft.TestPlatform.ObjectModel (>= 16.9.4) - restriction: || (== net50) (&& (== netstandard2.0) (>= netcoreapp1.0)) (&& (== netstandard2.0) (>= uap10.0)) - Newtonsoft.Json (>= 9.0.1) - restriction: || (== net50) (&& (== netstandard2.0) (>= netcoreapp1.0)) (&& (== netstandard2.0) (>= uap10.0)) - Microsoft.Win32.Registry (5.0) - System.Buffers (>= 4.5.1) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (>= xamarinios)) (&& (== net50) (>= xamarinmac)) (&& (== net50) (>= xamarintvos)) (&& (== net50) (>= xamarinwatchos)) (== netstandard2.0) - System.Memory (>= 4.5.4) - restriction: || (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Security.AccessControl (>= 5.0) - System.Security.Principal.Windows (>= 5.0) - NETStandard.Library (2.0.3) - Microsoft.NETCore.Platforms (>= 1.1) - Newtonsoft.Json (13.0.1) - NuGet.Frameworks (5.9) - restriction: || (== net50) (&& (== netstandard2.0) (>= netcoreapp1.0)) - Perfolizer (0.2.1) - System.Memory (>= 4.5.3) - runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.debian.9-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.fedora.27-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.fedora.28-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.native.System (4.3.1) - Microsoft.NETCore.Platforms (>= 1.1.1) - Microsoft.NETCore.Targets (>= 1.1.3) - runtime.native.System.Net.Http (4.3.1) - Microsoft.NETCore.Platforms (>= 1.1.1) - Microsoft.NETCore.Targets (>= 1.1.3) - runtime.native.System.Security.Cryptography.Apple (4.3.1) - runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple (>= 4.3.1) - runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.debian.9-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.fedora.27-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.fedora.28-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.opensuse.42.3-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.ubuntu.18.04-x64.runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.3) - runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.opensuse.42.3-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple (4.3.1) - runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - runtime.ubuntu.18.04-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3) - Suave (2.6) - FSharp.Core - restriction: || (== net50) (&& (== netstandard2.0) (>= netstandard2.1)) - System.Buffers (4.5.1) - System.CodeDom (5.0) - System.Collections (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Collections.Concurrent (4.3) - System.Collections (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Diagnostics.Tracing (>= 4.3) - System.Globalization (>= 4.3) - System.Reflection (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Threading (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.Collections.Immutable (5.0) - System.Memory (>= 4.5.4) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Diagnostics.Debug (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Diagnostics.DiagnosticSource (5.0.1) - System.Memory (>= 4.5.4) - restriction: || (&& (== net50) (>= net45) (< netstandard1.3)) (&& (== net50) (>= net46)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Runtime.CompilerServices.Unsafe (>= 5.0) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net45) (< netstandard1.3)) (&& (== net50) (>= net46)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (< netcoreapp3.0)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Diagnostics.Tracing (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Formats.Asn1 (5.0) - System.Globalization (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Globalization.Calendars (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Globalization (>= 4.3) - System.Runtime (>= 4.3) - System.Globalization.Extensions (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - System.Globalization (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.IO (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.IO.FileSystem (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.IO (>= 4.3) - System.IO.FileSystem.Primitives (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.IO.FileSystem.Primitives (4.3) - System.Runtime (>= 4.3) - System.IO.Pipelines (5.0.1) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - System.Buffers (>= 4.5.1) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= xamarinios)) (&& (== net50) (>= xamarinmac)) (&& (== net50) (>= xamarintvos)) (&& (== net50) (>= xamarinwatchos)) (== netstandard2.0) - System.Memory (>= 4.5.4) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Linq (4.3) - System.Collections (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Management (5.0) - Microsoft.NETCore.Platforms (>= 5.0) - restriction: || (== net50) (&& (== netstandard2.0) (>= netcoreapp2.0)) - Microsoft.Win32.Registry (>= 5.0) - restriction: || (== net50) (&& (== netstandard2.0) (>= netcoreapp2.0)) - System.CodeDom (>= 5.0) - System.Memory (4.5.4) - System.Buffers (>= 4.5.1) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netstandard1.1)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= xamarinios)) (&& (== net50) (>= xamarinmac)) (&& (== net50) (>= xamarintvos)) (&& (== net50) (>= xamarinwatchos)) (== netstandard2.0) - System.Numerics.Vectors (>= 4.4) - restriction: || (&& (== net50) (< netcoreapp2.0)) (== netstandard2.0) - System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (< netstandard1.1)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= uap10.1)) (&& (== net50) (>= xamarinios)) (&& (== net50) (>= xamarinmac)) (&& (== net50) (>= xamarintvos)) (&& (== net50) (>= xamarinwatchos)) (== netstandard2.0) - System.Net.Http (4.3.4) - Microsoft.NETCore.Platforms (>= 1.1.1) - runtime.native.System (>= 4.3) - runtime.native.System.Net.Http (>= 4.3) - runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.2) - System.Collections (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Diagnostics.DiagnosticSource (>= 4.3) - System.Diagnostics.Tracing (>= 4.3) - System.Globalization (>= 4.3) - System.Globalization.Extensions (>= 4.3) - System.IO (>= 4.3) - System.IO.FileSystem (>= 4.3) - System.Net.Primitives (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.Security.Cryptography.Algorithms (>= 4.3) - System.Security.Cryptography.Encoding (>= 4.3) - System.Security.Cryptography.OpenSsl (>= 4.3) - System.Security.Cryptography.Primitives (>= 4.3) - System.Security.Cryptography.X509Certificates (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Threading (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.Net.Primitives (4.3.1) - Microsoft.NETCore.Platforms (>= 1.1.1) - Microsoft.NETCore.Targets (>= 1.1.3) - System.Runtime (>= 4.3.1) - System.Runtime.Handles (>= 4.3) - System.Numerics.Vectors (4.5) - restriction: || (&& (== net50) (< netcoreapp2.0)) (== netstandard2.0) - System.Reflection (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.IO (>= 4.3) - System.Reflection.Primitives (>= 4.3) - System.Runtime (>= 4.3) - System.Reflection.Emit (4.7) - System.Reflection.Emit.ILGeneration (>= 4.7) - restriction: || (&& (== net50) (< netcoreapp2.0) (< netstandard2.1)) (&& (== net50) (< netstandard1.1)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Reflection.Emit.ILGeneration (4.7) - restriction: || (&& (== net50) (< netcoreapp2.0) (< netstandard2.1)) (&& (== net50) (< netstandard1.1)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Reflection.Emit.Lightweight (4.7) - System.Reflection.Emit.ILGeneration (>= 4.7) - restriction: || (&& (== net50) (< netcoreapp2.0) (< netstandard2.1)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (< portable-net45+wp8)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Reflection.Metadata (5.0) - System.Collections.Immutable (>= 5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netstandard1.1)) (&& (== net50) (< netstandard2.0)) (== netstandard2.0) - System.Reflection.Primitives (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Reflection.TypeExtensions (4.7) - restriction: || (&& (== net50) (< netcoreapp1.0)) (== netstandard2.0) - System.Resources.ResourceManager (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Globalization (>= 4.3) - System.Reflection (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime (4.3.1) - Microsoft.NETCore.Platforms (>= 1.1.1) - Microsoft.NETCore.Targets (>= 1.1.3) - System.Runtime.CompilerServices.Unsafe (5.0) - System.Runtime.Extensions (4.3.1) - Microsoft.NETCore.Platforms (>= 1.1.1) - Microsoft.NETCore.Targets (>= 1.1.3) - System.Runtime (>= 4.3.1) - System.Runtime.Handles (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Runtime.InteropServices (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Reflection (>= 4.3) - System.Reflection.Primitives (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Runtime.Loader (4.3) - restriction: || (== net50) (&& (== netstandard2.0) (>= netcoreapp1.0)) - System.IO (>= 4.3) - System.Reflection (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Numerics (4.3) - System.Globalization (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Security.AccessControl (5.0) - Microsoft.NETCore.Platforms (>= 5.0) - restriction: || (== net50) (&& (== netstandard2.0) (>= netcoreapp2.0)) - System.Security.Principal.Windows (>= 5.0) - System.Security.Cryptography.Algorithms (4.3.1) - Microsoft.NETCore.Platforms (>= 1.1) - runtime.native.System.Security.Cryptography.Apple (>= 4.3.1) - runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.2) - System.Collections (>= 4.3) - System.IO (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.Runtime.Numerics (>= 4.3) - System.Security.Cryptography.Encoding (>= 4.3) - System.Security.Cryptography.Primitives (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Security.Cryptography.Cng (5.0) - System.Formats.Asn1 (>= 5.0) - restriction: || (== net50) (&& (== netstandard2.0) (>= netcoreapp3.0)) - System.Security.Cryptography.Csp (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - System.IO (>= 4.3) - System.Reflection (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.Security.Cryptography.Algorithms (>= 4.3) - System.Security.Cryptography.Encoding (>= 4.3) - System.Security.Cryptography.Primitives (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Threading (>= 4.3) - System.Security.Cryptography.Encoding (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3) - System.Collections (>= 4.3) - System.Collections.Concurrent (>= 4.3) - System.Linq (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.Security.Cryptography.Primitives (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Security.Cryptography.OpenSsl (5.0) - System.Formats.Asn1 (>= 5.0) - restriction: || (== net50) (&& (== netstandard2.0) (>= netcoreapp3.0)) - System.Security.Cryptography.Pkcs (5.0.1) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - System.Buffers (>= 4.5.1) - restriction: || (&& (== net50) (< netcoreapp2.0) (< netstandard2.1)) (== netstandard2.0) - System.Formats.Asn1 (>= 5.0) - System.Memory (>= 4.5.4) - restriction: || (&& (== net50) (< netcoreapp2.0) (< netstandard2.1)) (&& (== net50) (< netcoreapp2.1) (< netstandard2.1)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Security.Cryptography.Cng (>= 5.0) - System.Security.Cryptography.Primitives (4.3) - System.Diagnostics.Debug (>= 4.3) - System.Globalization (>= 4.3) - System.IO (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Threading (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.Security.Cryptography.X509Certificates (4.3.2) - Microsoft.NETCore.Platforms (>= 1.1) - runtime.native.System (>= 4.3) - runtime.native.System.Net.Http (>= 4.3) - runtime.native.System.Security.Cryptography.OpenSsl (>= 4.3.2) - System.Collections (>= 4.3) - System.Diagnostics.Debug (>= 4.3) - System.Globalization (>= 4.3) - System.Globalization.Calendars (>= 4.3) - System.IO (>= 4.3) - System.IO.FileSystem (>= 4.3) - System.IO.FileSystem.Primitives (>= 4.3) - System.Resources.ResourceManager (>= 4.3) - System.Runtime (>= 4.3) - System.Runtime.Extensions (>= 4.3) - System.Runtime.Handles (>= 4.3) - System.Runtime.InteropServices (>= 4.3) - System.Runtime.Numerics (>= 4.3) - System.Security.Cryptography.Algorithms (>= 4.3) - System.Security.Cryptography.Cng (>= 4.3) - System.Security.Cryptography.Csp (>= 4.3) - System.Security.Cryptography.Encoding (>= 4.3) - System.Security.Cryptography.OpenSsl (>= 4.3) - System.Security.Cryptography.Primitives (>= 4.3) - System.Text.Encoding (>= 4.3) - System.Threading (>= 4.3) - System.Security.Cryptography.Xml (5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - System.Memory (>= 4.5.4) - restriction: || (&& (== net50) (< netcoreapp2.1)) (== netstandard2.0) - System.Security.Cryptography.Pkcs (>= 5.0) - System.Security.Permissions (>= 5.0) - System.Security.Permissions (5.0) - restriction: || (&& (== net50) (>= monotouch)) (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - System.Security.AccessControl (>= 5.0) - System.Security.Principal.Windows (5.0) - System.Text.Encoding (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Text.Encoding.CodePages (5.0) - Microsoft.NETCore.Platforms (>= 5.0) - restriction: || (== net50) (&& (== netstandard2.0) (>= net50)) (&& (== netstandard2.0) (>= netcoreapp2.0)) - System.Runtime.CompilerServices.Unsafe (>= 5.0) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0)) (== netstandard2.0) - System.Text.Encodings.Web (5.0.1) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp3.0)) (== netstandard2.0) - System.Buffers (>= 4.5.1) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0) (< netstandard2.1)) (== netstandard2.0) - System.Memory (>= 4.5.4) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.0) (< netstandard2.1)) (&& (== net50) (< netcoreapp2.1) (< netstandard2.1)) (&& (== net50) (>= uap10.1)) (== netstandard2.0) - System.Threading (4.3) - System.Runtime (>= 4.3) - System.Threading.Tasks (>= 4.3) - System.Threading.Tasks (4.3) - Microsoft.NETCore.Platforms (>= 1.1) - Microsoft.NETCore.Targets (>= 1.1) - System.Runtime (>= 4.3) - System.Threading.Tasks.Extensions (4.5.4) - System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== net50) (>= net461)) (&& (== net50) (< netcoreapp2.1)) (&& (== net50) (< netstandard1.0)) (&& (== net50) (< netstandard2.0)) (&& (== net50) (>= wp8)) (== netstandard2.0) - System.ValueTuple (4.5) - TaskBuilder.fs (2.1) - FSharp.Core (>= 4.1.17) - NETStandard.Library (>= 1.6.1) - System.ValueTuple (>= 4.4) - Utf8Json (1.3.7) - System.Reflection.Emit (>= 4.3) - System.Reflection.Emit.Lightweight (>= 4.3) - System.Threading.Tasks.Extensions (>= 4.4) - System.ValueTuple (>= 4.4) - xunit (2.4.1) - xunit.analyzers (>= 0.10) - xunit.assert (2.4.1) - xunit.core (2.4.1) - xunit.abstractions (2.0.3) - xunit.analyzers (0.10) - xunit.assert (2.4.1) - NETStandard.Library (>= 1.6.1) - xunit.core (2.4.1) - xunit.extensibility.core (2.4.1) - xunit.extensibility.execution (2.4.1) - xunit.extensibility.core (2.4.1) - NETStandard.Library (>= 1.6.1) - xunit.abstractions (>= 2.0.3) - xunit.extensibility.execution (2.4.1) - NETStandard.Library (>= 1.6.1) - xunit.extensibility.core (2.4.1) - xunit.runner.console (2.4.1) - xunit.runner.utility (2.4.1) - NETStandard.Library (>= 1.6) - restriction: || (== net50) (&& (== netstandard2.0) (>= netcoreapp1.0)) - NETStandard.Library (>= 1.6.1) - restriction: || (&& (== net50) (< netcoreapp1.0)) (&& (== net50) (< netstandard1.5)) (== netstandard2.0) - System.Reflection.TypeExtensions (>= 4.3) - restriction: || (&& (== net50) (< netcoreapp1.0)) (== netstandard2.0) - System.Runtime.Loader (>= 4.0) - restriction: || (== net50) (&& (== netstandard2.0) (>= netcoreapp1.0)) - xunit.abstractions (>= 2.0.3) - xunit.runner.visualstudio (2.4.3) diff --git a/samples/star-wars-api/FSharp.Data.GraphQL.Samples.StarWarsApi.fsproj b/samples/star-wars-api/FSharp.Data.GraphQL.Samples.StarWarsApi.fsproj index 87cffddde..643e4c7c8 100644 --- a/samples/star-wars-api/FSharp.Data.GraphQL.Samples.StarWarsApi.fsproj +++ b/samples/star-wars-api/FSharp.Data.GraphQL.Samples.StarWarsApi.fsproj @@ -1,15 +1,18 @@ - + + Exe - net5.0 + net6.0 false + - - - + + + + @@ -18,8 +21,11 @@ - - - + + + + + + diff --git a/samples/star-wars-api/HttpHandlers.fs b/samples/star-wars-api/HttpHandlers.fs index 916b27331..141c08bde 100644 --- a/samples/star-wars-api/HttpHandlers.fs +++ b/samples/star-wars-api/HttpHandlers.fs @@ -1,15 +1,14 @@ namespace FSharp.Data.GraphQL.Samples.StarWarsApi +open System.IO open System.Text open Giraffe open Microsoft.AspNetCore.Http open Newtonsoft.Json +open Newtonsoft.Json.Linq open FSharp.Data.GraphQL.Execution -open System.IO open FSharp.Data.GraphQL open FSharp.Data.GraphQL.Types -open FSharp.Control.Tasks -open Newtonsoft.Json.Linq type HttpHandler = HttpFunc -> HttpContext -> HttpFuncResult @@ -32,7 +31,7 @@ module HttpHandlers = let serialize d = JsonConvert.SerializeObject(d, jsonSettings) let deserialize (data : string) = - let getMap (token : JToken) = + let getMap (token : JToken) = let rec mapper (name : string) (token : JToken) = match name, token.Type with | "variables", JTokenType.Object -> token.Children() |> Seq.map (fun x -> x.Name, mapper x.Name x.Value) |> Map.ofSeq |> box @@ -41,10 +40,10 @@ module HttpHandlers = token.Children() |> Seq.map (fun x -> x.Name, mapper x.Name x.Value) |> Map.ofSeq - if System.String.IsNullOrWhiteSpace(data) + if System.String.IsNullOrWhiteSpace(data) then None else data |> JToken.Parse |> getMap |> Some - + let json = function | Direct (data, _) -> @@ -52,19 +51,19 @@ module HttpHandlers = | Deferred (data, _, deferred) -> deferred |> Observable.add(fun d -> printfn "Deferred: %s" (serialize d)) JsonConvert.SerializeObject(data, jsonSettings) - | Stream data -> + | Stream data -> data |> Observable.add(fun d -> printfn "Subscription data: %s" (serialize d)) "{}" - + let removeWhitespacesAndLineBreaks (str : string) = str.Trim().Replace("\r\n", " ") - + let readStream (s : Stream) = use ms = new MemoryStream(4096) s.CopyTo(ms) ms.ToArray() - + let data = Encoding.UTF8.GetString(readStream ctx.Request.Body) |> deserialize - + let query = data |> Option.bind (fun data -> if data.ContainsKey("query") @@ -73,7 +72,7 @@ module HttpHandlers = | :? string as x -> Some x | _ -> failwith "Failure deserializing repsonse. Could not read query - it is not stringified in request." else None) - + let variables = data |> Option.bind (fun data -> if data.ContainsKey("variables") @@ -84,7 +83,7 @@ module HttpHandlers = | :? Map as x -> Some x | _ -> failwith "Failure deserializing response. Could not read variables - it is not a object in the request." else None) - + match query, variables with | Some query, Some variables -> printfn "Received query: %s" query @@ -106,7 +105,7 @@ module HttpHandlers = return! okWithStr (json result) next ctx } - let webApp : HttpHandler = + let webApp : HttpHandler = setCorsHeaders - >=> graphQL + >=> graphQL >=> setContentTypeAsJson diff --git a/src/FSharp.Data.GraphQL.Client.DesignTime/FSharp.Data.GraphQL.Client.DesignTime.fsproj b/src/FSharp.Data.GraphQL.Client.DesignTime/FSharp.Data.GraphQL.Client.DesignTime.fsproj index 2cca4b284..a4dd04afd 100644 --- a/src/FSharp.Data.GraphQL.Client.DesignTime/FSharp.Data.GraphQL.Client.DesignTime.fsproj +++ b/src/FSharp.Data.GraphQL.Client.DesignTime/FSharp.Data.GraphQL.Client.DesignTime.fsproj @@ -1,5 +1,5 @@ - - + + Library netstandard2.0 @@ -11,16 +11,22 @@ false false ..\FSharp.Data.GraphQL.Client\bin\$(Configuration)\typeproviders\fsharp41\ + + FSharp implementation of Facebook GraphQL query language (Client) + + + + all + + + all + + + + + - - True - paket-files/ProvidedTypes.fsi - - - True - paket-files/ProvidedTypes.fs - @@ -37,10 +43,9 @@ - + - + - \ No newline at end of file diff --git a/src/FSharp.Data.GraphQL.Client.DesignTime/paket.references b/src/FSharp.Data.GraphQL.Client.DesignTime/paket.references deleted file mode 100644 index 91d46b834..000000000 --- a/src/FSharp.Data.GraphQL.Client.DesignTime/paket.references +++ /dev/null @@ -1,6 +0,0 @@ -group Common -FSharp.Core -FParsec -Microsoft.Extensions.Http -File:ProvidedTypes.fsi -File:ProvidedTypes.fs \ No newline at end of file diff --git a/src/FSharp.Data.GraphQL.Client/AssemblyInfo.fs b/src/FSharp.Data.GraphQL.Client/AssemblyInfo.fs deleted file mode 100644 index 146b60534..000000000 --- a/src/FSharp.Data.GraphQL.Client/AssemblyInfo.fs +++ /dev/null @@ -1,17 +0,0 @@ -// Auto-Generated by FAKE; do not edit -namespace System -open System.Reflection - -[] -[] -[] -[] -[] -do () - -module internal AssemblyVersionInformation = - let [] AssemblyTitle = "FSharp.Data.GraphQL.Client" - let [] AssemblyProduct = "FSharp.Data.GraphQL" - let [] AssemblyDescription = "FSharp implementation of Facebook GraphQL query language" - let [] AssemblyVersion = "1.0.8" - let [] AssemblyFileVersion = "1.0.8" diff --git a/src/FSharp.Data.GraphQL.Client/FSharp.Data.GraphQL.Client.fsproj b/src/FSharp.Data.GraphQL.Client/FSharp.Data.GraphQL.Client.fsproj index 042050af4..b83efed0a 100644 --- a/src/FSharp.Data.GraphQL.Client/FSharp.Data.GraphQL.Client.fsproj +++ b/src/FSharp.Data.GraphQL.Client/FSharp.Data.GraphQL.Client.fsproj @@ -1,5 +1,5 @@ - - + + Library netstandard2.0 @@ -7,9 +7,16 @@ false typeproviders typeproviders + + FSharp implementation of Facebook GraphQL query language (Client) + + + + + + - @@ -24,11 +31,9 @@ - - + - + - \ No newline at end of file diff --git a/src/FSharp.Data.GraphQL.Client/FSharp.Data.GraphQL.Client.fsproj.paket.template b/src/FSharp.Data.GraphQL.Client/FSharp.Data.GraphQL.Client.fsproj.paket.template deleted file mode 100644 index 0c7ae92d5..000000000 --- a/src/FSharp.Data.GraphQL.Client/FSharp.Data.GraphQL.Client.fsproj.paket.template +++ /dev/null @@ -1,24 +0,0 @@ -type project -id FSharp.Data.GraphQL.Client -authors Bazinga Technologies Inc -projectUrl https://github.com/fsprojects/FSharp.Data.GraphQL -licenseUrl https://github.com/fsprojects/FSharp.Data.GraphQL/blob/dev/LICENSE.txt -requireLicenseAcceptance false -copyright Copyright (c) 2016 Bazinga Technologies Inc -tags - FSharp GraphQL Relay React -summary - FSharp implementation of Facebook GraphQL query language (Client) -description - FSharp implementation of Facebook GraphQL query language (Client) -files - bin/Release/netstandard2.0/FSharp.Data.GraphQL.Client.dll ==> lib/netstandard2.0 - bin/Release/typeproviders/fsharp41/netstandard2.0/*.dll ==> typeproviders/fsharp41/netstandard2.0 -references - FSharp.Data.GraphQL.Client.dll -dependencies - framework: netstandard2.0 - FSharp.Core >= LOCKEDVERSION-Common - FParsec >= LOCKEDVERSION-Common - Microsoft.Extensions.Http >= LOCKEDVERSION-Common - FSharp.Data.GraphQL.Shared >= CURRENTVERSION \ No newline at end of file diff --git a/src/FSharp.Data.GraphQL.Client/paket.references b/src/FSharp.Data.GraphQL.Client/paket.references deleted file mode 100644 index 3d7ef45ed..000000000 --- a/src/FSharp.Data.GraphQL.Client/paket.references +++ /dev/null @@ -1,4 +0,0 @@ -group Common -FSharp.Core -FParsec -Microsoft.Extensions.Http \ No newline at end of file diff --git a/src/FSharp.Data.GraphQL.Server.Middleware/AssemblyInfo.fs b/src/FSharp.Data.GraphQL.Server.Middleware/AssemblyInfo.fs deleted file mode 100644 index 3e900e847..000000000 --- a/src/FSharp.Data.GraphQL.Server.Middleware/AssemblyInfo.fs +++ /dev/null @@ -1,17 +0,0 @@ -// Auto-Generated by FAKE; do not edit -namespace System -open System.Reflection - -[] -[] -[] -[] -[] -do () - -module internal AssemblyVersionInformation = - let [] AssemblyTitle = "FSharp.Data.GraphQL.Server.Middleware" - let [] AssemblyProduct = "FSharp.Data.GraphQL" - let [] AssemblyDescription = "FSharp implementation of Facebook GraphQL query language" - let [] AssemblyVersion = "1.0.8" - let [] AssemblyFileVersion = "1.0.8" diff --git a/src/FSharp.Data.GraphQL.Server.Middleware/FSharp.Data.GraphQL.Server.Middleware.fsproj b/src/FSharp.Data.GraphQL.Server.Middleware/FSharp.Data.GraphQL.Server.Middleware.fsproj index 2f9483336..b09fd3f9d 100644 --- a/src/FSharp.Data.GraphQL.Server.Middleware/FSharp.Data.GraphQL.Server.Middleware.fsproj +++ b/src/FSharp.Data.GraphQL.Server.Middleware/FSharp.Data.GraphQL.Server.Middleware.fsproj @@ -1,22 +1,28 @@ - + + netstandard2.0 false true + true + + Built-in, generic middlewares for FSharp.Data.GraphQL.Server Executor + + + - - - - - - - - + + + + + \ No newline at end of file diff --git a/src/FSharp.Data.GraphQL.Server.Middleware/FSharp.Data.GraphQL.Server.Middleware.fsproj.paket.template b/src/FSharp.Data.GraphQL.Server.Middleware/FSharp.Data.GraphQL.Server.Middleware.fsproj.paket.template deleted file mode 100644 index 3354026f8..000000000 --- a/src/FSharp.Data.GraphQL.Server.Middleware/FSharp.Data.GraphQL.Server.Middleware.fsproj.paket.template +++ /dev/null @@ -1,20 +0,0 @@ -type project -id FSharp.Data.GraphQL.Server.Middleware -authors Bazinga Technologies Inc -projectUrl https://github.com/bazingatechnologies/FSharp.Data.GraphQL -licenseUrl https://github.com/bazingatechnologies/FSharp.Data.GraphQL/blob/dev/LICENSE.txt -requireLicenseAcceptance false -copyright Copyright (c) 2016 Bazinga Technologies Inc -tags - FSharp GraphQL Relay React Middleware -summary - Built-in, generic middlewares for FSharp.Data.GraphQL.Server Executor -description - Built-in, generic middlewares for FSharp.Data.GraphQL.Server Executor -dependencies - framework: netstandard2.0 - FParsec >= LOCKEDVERSION-Common - FSharp.Core >= LOCKEDVERSION-Common - FSharp.Data.GraphQL.Shared >= CURRENTVERSION -files - bin/Release/netstandard2.0/FSharp.Data.GraphQL.Server.Middleware.dll ==> lib/netstandard2.0 \ No newline at end of file diff --git a/src/FSharp.Data.GraphQL.Server.Middleware/paket.references b/src/FSharp.Data.GraphQL.Server.Middleware/paket.references deleted file mode 100644 index d5db0d1e4..000000000 --- a/src/FSharp.Data.GraphQL.Server.Middleware/paket.references +++ /dev/null @@ -1,2 +0,0 @@ -group Common -FSharp.Core \ No newline at end of file diff --git a/src/FSharp.Data.GraphQL.Server/AssemblyInfo.fs b/src/FSharp.Data.GraphQL.Server/AssemblyInfo.fs deleted file mode 100644 index a8956370b..000000000 --- a/src/FSharp.Data.GraphQL.Server/AssemblyInfo.fs +++ /dev/null @@ -1,22 +0,0 @@ -// Auto-Generated by FAKE; do not edit -namespace System -open System.Reflection -open System.Runtime.CompilerServices - -[] -[] -[] -[] -[] -[] -[] -do () - -module internal AssemblyVersionInformation = - let [] AssemblyTitle = "FSharp.Data.GraphQL.Server" - let [] AssemblyProduct = "FSharp.Data.GraphQL" - let [] AssemblyDescription = "FSharp implementation of Facebook GraphQL query language" - let [] AssemblyVersion = "1.0.8" - let [] AssemblyFileVersion = "1.0.8" - let [] InternalsVisibleTo = "FSharp.Data.GraphQL.Benchmarks" - let [] InternalsVisibleTo_1 = "FSharp.Data.GraphQL.Tests" diff --git a/src/FSharp.Data.GraphQL.Server/FSharp.Data.GraphQL.Server.fsproj b/src/FSharp.Data.GraphQL.Server/FSharp.Data.GraphQL.Server.fsproj index 69dca6632..12a05bc4d 100644 --- a/src/FSharp.Data.GraphQL.Server/FSharp.Data.GraphQL.Server.fsproj +++ b/src/FSharp.Data.GraphQL.Server/FSharp.Data.GraphQL.Server.fsproj @@ -1,11 +1,37 @@ - + + netstandard2.0 - false true + true + + FSharp implementation of Facebook GraphQL query language (Server) + + + + + + + + + + + <_Parameter1>FSharp.Data.GraphQL.Benchmarks + + + <_Parameter1>FSharp.Data.GraphQL.Tests + + + + + + + + - @@ -17,11 +43,9 @@ - - + - \ No newline at end of file diff --git a/src/FSharp.Data.GraphQL.Server/FSharp.Data.GraphQL.Server.fsproj.paket.template b/src/FSharp.Data.GraphQL.Server/FSharp.Data.GraphQL.Server.fsproj.paket.template deleted file mode 100644 index 6fa22434f..000000000 --- a/src/FSharp.Data.GraphQL.Server/FSharp.Data.GraphQL.Server.fsproj.paket.template +++ /dev/null @@ -1,23 +0,0 @@ -type project -id FSharp.Data.GraphQL.Server -authors Bazinga Technologies Inc -projectUrl https://github.com/bazingatechnologies/FSharp.Data.GraphQL -licenseUrl https://github.com/bazingatechnologies/FSharp.Data.GraphQL/blob/dev/LICENSE.txt -requireLicenseAcceptance false -copyright Copyright (c) 2016 Bazinga Technologies Inc -tags - FSharp GraphQL Relay React -summary - FSharp implementation of Facebook GraphQL query language (Server) -description - FSharp implementation of Facebook GraphQL query language (Server) -references - FSharp.Data.GraphQL.Server.dll -dependencies - framework: netstandard2.0 - FParsec >= LOCKEDVERSION-Common - FSharp.Core >= LOCKEDVERSION-Common - System.Reactive >= LOCKEDVERSION-Common - FSharp.Data.GraphQL.Shared >= CURRENTVERSION -files - bin/Release/netstandard2.0/FSharp.Data.GraphQL.Server.dll ==> lib/netstandard2.0 \ No newline at end of file diff --git a/src/FSharp.Data.GraphQL.Server/paket.references b/src/FSharp.Data.GraphQL.Server/paket.references deleted file mode 100644 index 0fd7b0ea0..000000000 --- a/src/FSharp.Data.GraphQL.Server/paket.references +++ /dev/null @@ -1,4 +0,0 @@ -group Common -FParsec -FSharp.Core -System.Reactive \ No newline at end of file diff --git a/src/FSharp.Data.GraphQL.Shared/AssemblyInfo.fs b/src/FSharp.Data.GraphQL.Shared/AssemblyInfo.fs deleted file mode 100644 index 25cc3fed6..000000000 --- a/src/FSharp.Data.GraphQL.Shared/AssemblyInfo.fs +++ /dev/null @@ -1,26 +0,0 @@ -// Auto-Generated by FAKE; do not edit -namespace System -open System.Reflection -open System.Runtime.CompilerServices - -[] -[] -[] -[] -[] -[] -[] -[] -[] -do () - -module internal AssemblyVersionInformation = - let [] AssemblyTitle = "FSharp.Data.GraphQL.Shared" - let [] AssemblyProduct = "FSharp.Data.GraphQL" - let [] AssemblyDescription = "FSharp implementation of Facebook GraphQL query language" - let [] AssemblyVersion = "1.0.8" - let [] AssemblyFileVersion = "1.0.8" - let [] InternalsVisibleTo = "FSharp.Data.GraphQL.Server" - let [] InternalsVisibleTo_1 = "FSharp.Data.GraphQL.Client" - let [] InternalsVisibleTo_2 = "FSharp.Data.GraphQL.Client.DesignTime" - let [] InternalsVisibleTo_3 = "FSharp.Data.GraphQL.Tests" diff --git a/src/FSharp.Data.GraphQL.Shared/FSharp.Data.GraphQL.Shared.fsproj b/src/FSharp.Data.GraphQL.Shared/FSharp.Data.GraphQL.Shared.fsproj index 2a5441633..47a4e51f3 100644 --- a/src/FSharp.Data.GraphQL.Shared/FSharp.Data.GraphQL.Shared.fsproj +++ b/src/FSharp.Data.GraphQL.Shared/FSharp.Data.GraphQL.Shared.fsproj @@ -1,10 +1,37 @@ - + + netstandard2.0 true + true + + Shared library for FSharp.Data.GraphQL.Server and FSharp.Data.GraphQL.Cient + + + + + + <_Parameter1>FSharp.Data.GraphQL.Server + + + <_Parameter1>FSharp.Data.GraphQL.Client + + + <_Parameter1>FSharp.Data.GraphQL.Client.DesignTime + + + <_Parameter1>FSharp.Data.GraphQL.Tests + + + + + + + - @@ -19,7 +46,5 @@ - - \ No newline at end of file diff --git a/src/FSharp.Data.GraphQL.Shared/FSharp.Data.GraphQL.Shared.fsproj.paket.template b/src/FSharp.Data.GraphQL.Shared/FSharp.Data.GraphQL.Shared.fsproj.paket.template deleted file mode 100644 index f9e667c14..000000000 --- a/src/FSharp.Data.GraphQL.Shared/FSharp.Data.GraphQL.Shared.fsproj.paket.template +++ /dev/null @@ -1,21 +0,0 @@ -type project -id FSharp.Data.GraphQL.Shared -authors Bazinga Technologies Inc -projectUrl https://github.com/bazingatechnologies/FSharp.Data.GraphQL -licenseUrl https://github.com/bazingatechnologies/FSharp.Data.GraphQL/blob/dev/LICENSE.txt -requireLicenseAcceptance false -copyright Copyright (c) 2016 Bazinga Technologies Inc -tags - FSharp GraphQL Relay React Middleware -summary - Shared library for FSharp.Data.GraphQL.Server and FSharp.Data.GraphQL.Cient -description - Shared library for FSharp.Data.GraphQL.Server and FSharp.Data.GraphQL.Cient -dependencies - framework: netstandard2.0 - FParsec >= LOCKEDVERSION-Common - FSharp.Core >= LOCKEDVERSION-Common -references - FSharp.Data.GraphQL.Shared.dll -files - bin/Release/netstandard2.0/FSharp.Data.GraphQL.Shared.dll ==> lib/netstandard2.0 \ No newline at end of file diff --git a/src/FSharp.Data.GraphQL.Shared/paket.references b/src/FSharp.Data.GraphQL.Shared/paket.references deleted file mode 100644 index 4d208e057..000000000 --- a/src/FSharp.Data.GraphQL.Shared/paket.references +++ /dev/null @@ -1,3 +0,0 @@ -group Common -FSharp.Core -FParsec \ No newline at end of file diff --git a/tests/FSharp.Data.GraphQL.Benchmarks/FSharp.Data.GraphQL.Benchmarks.fsproj b/tests/FSharp.Data.GraphQL.Benchmarks/FSharp.Data.GraphQL.Benchmarks.fsproj index 3b8f5b5b6..bfed32230 100644 --- a/tests/FSharp.Data.GraphQL.Benchmarks/FSharp.Data.GraphQL.Benchmarks.fsproj +++ b/tests/FSharp.Data.GraphQL.Benchmarks/FSharp.Data.GraphQL.Benchmarks.fsproj @@ -1,15 +1,22 @@ - + Exe - net5.0 + net6.0 false true + false + true full + + + + + @@ -20,13 +27,10 @@ - - - + - \ No newline at end of file diff --git a/tests/FSharp.Data.GraphQL.Benchmarks/paket.references b/tests/FSharp.Data.GraphQL.Benchmarks/paket.references deleted file mode 100644 index c4462dfd6..000000000 --- a/tests/FSharp.Data.GraphQL.Benchmarks/paket.references +++ /dev/null @@ -1,3 +0,0 @@ -group TestsAndSamples -FSharp.Core -BenchmarkDotNet \ No newline at end of file diff --git a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/FSharp.Data.GraphQL.IntegrationTests.Server.fsproj b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/FSharp.Data.GraphQL.IntegrationTests.Server.fsproj index 76b64bfc3..74ec2ad50 100644 --- a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/FSharp.Data.GraphQL.IntegrationTests.Server.fsproj +++ b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/FSharp.Data.GraphQL.IntegrationTests.Server.fsproj @@ -1,14 +1,16 @@  + Exe - net5.0 - false + net6.0 + - - + + + @@ -18,8 +20,10 @@ - - - + + + + + diff --git a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/Helpers.fs b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/Helpers.fs index aff06beb8..77310dc29 100644 --- a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/Helpers.fs +++ b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/Helpers.fs @@ -1,11 +1,11 @@ namespace FSharp.Data.GraphQL.IntegrationTests.Server open System +open System.Collections.Generic open System.Text open Newtonsoft.Json open Newtonsoft.Json.Linq open Newtonsoft.Json.Serialization -open System.Collections.Generic open FSharp.Data.GraphQL [] diff --git a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/HttpHandlers.fs b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/HttpHandlers.fs index 99da1aeb2..dd841fbf1 100644 --- a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/HttpHandlers.fs +++ b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/HttpHandlers.fs @@ -1,17 +1,16 @@ namespace FSharp.Data.GraphQL.IntegrationTests.Server +open System.IO open System.Text -open Giraffe open Microsoft.AspNetCore.Http +open Microsoft.AspNetCore.WebUtilities +open Giraffe +open Giraffe.HttpStatusCodeHandlers.RequestErrors open Newtonsoft.Json +open Newtonsoft.Json.Linq open FSharp.Data.GraphQL.Execution -open System.IO open FSharp.Data.GraphQL open FSharp.Data.GraphQL.Types -open FSharp.Control.Tasks -open Newtonsoft.Json.Linq -open Giraffe.HttpStatusCodeHandlers.RequestErrors -open Microsoft.AspNetCore.WebUtilities open FSharp.Data.GraphQL.Ast type HttpHandler = HttpFunc -> HttpContext -> HttpFuncResult @@ -38,20 +37,20 @@ module HttpHandlers = |> Option.map (fun v -> v.Remove(0, v.IndexOf('=') + 1)) |> Option.map (fun v -> v.Trim('"')) + let rec parseVariables (schema : ISchema) (defs : VariableDefinition list) (variables : obj) = + let casted = + match variables with + | null -> Map.empty + | :? string as x when System.String.IsNullOrWhiteSpace(x) -> Map.empty + | :? Map as x -> x + | :? JToken as x -> x.ToObject>(jsonSerializer) + | :? string as x -> JsonConvert.DeserializeObject>(x, jsonSettings) + | _ -> failwithf "Failure deserializing variables. Unexpected variables object format." + Variables.read schema defs casted + let private graphQL (next : HttpFunc) (ctx : HttpContext) = task { let serialize d = JsonConvert.SerializeObject(d, jsonSettings) - let rec parseVariables (schema : ISchema) (defs : VariableDefinition list) (variables : obj) = - let casted = - match variables with - | null -> Map.empty - | :? string as x when System.String.IsNullOrWhiteSpace(x) -> Map.empty - | :? Map as x -> x - | :? JToken as x -> x.ToObject>(jsonSerializer) - | :? string as x -> JsonConvert.DeserializeObject>(x, jsonSettings) - | _ -> failwithf "Failure deserializing variables. Unexpected variables object format." - Variables.read schema defs casted - let json = function | Direct (data, _) -> diff --git a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/MultipartRequest.fs b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/MultipartRequest.fs index a05d75bdc..17d9ac787 100644 --- a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/MultipartRequest.fs +++ b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/MultipartRequest.fs @@ -1,10 +1,10 @@ namespace FSharp.Data.GraphQL.IntegrationTests.Server open System -open Microsoft.AspNetCore.WebUtilities -open Newtonsoft.Json open System.Collections open System.Collections.Generic +open Microsoft.AspNetCore.WebUtilities +open Newtonsoft.Json open Newtonsoft.Json.Linq open FSharp.Data.GraphQL.Ast open FSharp.Data.GraphQL diff --git a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/Schema.fs b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/Schema.fs index 8ffb2319a..44f8c6a93 100644 --- a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/Schema.fs +++ b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/Schema.fs @@ -1,8 +1,8 @@ namespace FSharp.Data.GraphQL.IntegrationTests.Server +open System.Text open FSharp.Data.GraphQL open FSharp.Data.GraphQL.Types -open System.Text type Root = { RequestId : string } diff --git a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/Startup.fs b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/Startup.fs index 401872dc5..0a3fd6626 100644 --- a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/Startup.fs +++ b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/Startup.fs @@ -1,12 +1,12 @@ namespace FSharp.Data.GraphQL.IntegrationTests.Server +open System open Microsoft.AspNetCore.Builder +open Microsoft.AspNetCore.Server.Kestrel.Core open Microsoft.Extensions.Configuration open Microsoft.Extensions.DependencyInjection -open Giraffe open Microsoft.Extensions.Logging -open System -open Microsoft.AspNetCore.Server.Kestrel.Core +open Giraffe type Startup private () = new (configuration: IConfiguration) as this = diff --git a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/paket.references b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/paket.references deleted file mode 100644 index d0a0b4f1d..000000000 --- a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/paket.references +++ /dev/null @@ -1,3 +0,0 @@ -group TestsAndSamples -FSharp.Core -Giraffe \ No newline at end of file diff --git a/tests/FSharp.Data.GraphQL.IntegrationTests/FSharp.Data.GraphQL.IntegrationTests.fsproj b/tests/FSharp.Data.GraphQL.IntegrationTests/FSharp.Data.GraphQL.IntegrationTests.fsproj index 8be69600c..7b5272dc8 100644 --- a/tests/FSharp.Data.GraphQL.IntegrationTests/FSharp.Data.GraphQL.IntegrationTests.fsproj +++ b/tests/FSharp.Data.GraphQL.IntegrationTests/FSharp.Data.GraphQL.IntegrationTests.fsproj @@ -1,31 +1,33 @@ - - + + Exe - net5.0 + net6.0 false true + - - - - - + + + + + - - - - PreserveNewest + + + + + + + - - - + ..\..\src\FSharp.Data.GraphQL.Client\bin\Debug\netstandard2.0\FSharp.Data.GraphQL.Client.dll @@ -38,5 +40,4 @@ ..\..\bin\FSharp.Data.GraphQL.Client\netstandard2.0\FSharp.Data.GraphQL.Shared.dll - \ No newline at end of file diff --git a/tests/FSharp.Data.GraphQL.IntegrationTests/paket.references b/tests/FSharp.Data.GraphQL.IntegrationTests/paket.references deleted file mode 100644 index 8583b306d..000000000 --- a/tests/FSharp.Data.GraphQL.IntegrationTests/paket.references +++ /dev/null @@ -1,7 +0,0 @@ -group TestsAndSamples -Microsoft.NET.Test.Sdk -xunit -xunit.runner.visualstudio -FSharp.Core -System.Net.Http -Microsoft.Extensions.Http \ No newline at end of file diff --git a/tests/FSharp.Data.GraphQL.IntegrationTests/xunit.runner.json b/tests/FSharp.Data.GraphQL.IntegrationTests/xunit.runner.json index 0255865d5..933632af2 100644 --- a/tests/FSharp.Data.GraphQL.IntegrationTests/xunit.runner.json +++ b/tests/FSharp.Data.GraphQL.IntegrationTests/xunit.runner.json @@ -1,3 +1,3 @@ -{ - "appDomain": "denied" +{ + "appDomain": "denied" } \ No newline at end of file diff --git a/tests/FSharp.Data.GraphQL.Tests.Sql/paket.references b/tests/FSharp.Data.GraphQL.Tests.Sql/paket.references deleted file mode 100644 index 8d3d89a67..000000000 --- a/tests/FSharp.Data.GraphQL.Tests.Sql/paket.references +++ /dev/null @@ -1,3 +0,0 @@ -group TestsAndSamples -FSharp.Core -FSharp.Data.TypeProviders \ No newline at end of file diff --git a/tests/FSharp.Data.GraphQL.Tests/App.config b/tests/FSharp.Data.GraphQL.Tests/App.config deleted file mode 100644 index 529b8895c..000000000 --- a/tests/FSharp.Data.GraphQL.Tests/App.config +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/tests/FSharp.Data.GraphQL.Tests/AssemblyInfo.fs b/tests/FSharp.Data.GraphQL.Tests/AssemblyInfo.fs deleted file mode 100644 index f8d430fad..000000000 --- a/tests/FSharp.Data.GraphQL.Tests/AssemblyInfo.fs +++ /dev/null @@ -1,22 +0,0 @@ -namespace Fsharp.Data.GraphQL.Tests.AssemblyInfo - -open Xunit -open System.Reflection -open System.Runtime.InteropServices - -[] -[] -[] -[] -[] -[] -[] -[] -[] -[] -[] -[] -[] - -do - () \ No newline at end of file diff --git a/tests/FSharp.Data.GraphQL.Tests/FSharp.Data.GraphQL.Tests.fsproj b/tests/FSharp.Data.GraphQL.Tests/FSharp.Data.GraphQL.Tests.fsproj index 35991e465..a1cffe8f4 100644 --- a/tests/FSharp.Data.GraphQL.Tests/FSharp.Data.GraphQL.Tests.fsproj +++ b/tests/FSharp.Data.GraphQL.Tests/FSharp.Data.GraphQL.Tests.fsproj @@ -1,18 +1,29 @@ - - + + - net5.0 - false + net6.0 true false Exe + + FSharp implementation of Facebook GraphQL query language (Server) + true portable + + + + + + + + + + - @@ -45,20 +56,15 @@ + - - - - - + + + - - - - \ No newline at end of file diff --git a/tests/FSharp.Data.GraphQL.Tests/Program.fs b/tests/FSharp.Data.GraphQL.Tests/Program.fs index 86d87381a..26fb8020b 100644 --- a/tests/FSharp.Data.GraphQL.Tests/Program.fs +++ b/tests/FSharp.Data.GraphQL.Tests/Program.fs @@ -16,3 +16,6 @@ module Program = finished.WaitOne() |> ignore finished.Dispose() !result + +[] +do() \ No newline at end of file diff --git a/tests/FSharp.Data.GraphQL.Tests/paket.references b/tests/FSharp.Data.GraphQL.Tests/paket.references deleted file mode 100644 index 392e5df4c..000000000 --- a/tests/FSharp.Data.GraphQL.Tests/paket.references +++ /dev/null @@ -1,7 +0,0 @@ -group TestsAndSamples -FSharp.Core -Newtonsoft.Json -Microsoft.NET.Test.Sdk -xunit -xunit.runner.utility -xunit.runner.visualstudio \ No newline at end of file diff --git a/tests/FSharp.Data.GraphQL.Tests/xunit.runner.json b/tests/FSharp.Data.GraphQL.Tests/xunit.runner.json index 0255865d5..933632af2 100644 --- a/tests/FSharp.Data.GraphQL.Tests/xunit.runner.json +++ b/tests/FSharp.Data.GraphQL.Tests/xunit.runner.json @@ -1,3 +1,3 @@ -{ - "appDomain": "denied" +{ + "appDomain": "denied" } \ No newline at end of file From b3d43af4372cd33974ee433fb86accf8c8160d5e Mon Sep 17 00:00:00 2001 From: Juri Date: Sun, 4 Sep 2022 03:42:34 +0300 Subject: [PATCH 2/2] Fixed `error FS3511: This state machine is not statically compilable. A resumable code invocation at` See https://github.com/dotnet/fsharp/issues/12839 --- .../HttpHandlers.fs | 75 ++++++++++--------- .../MultipartRequest.fs | 14 ++-- 2 files changed, 45 insertions(+), 44 deletions(-) diff --git a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/HttpHandlers.fs b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/HttpHandlers.fs index dd841fbf1..49cba5a6d 100644 --- a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/HttpHandlers.fs +++ b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/HttpHandlers.fs @@ -103,25 +103,27 @@ module HttpHandlers = ms match getMultipartRequestBoundary ctx.Request with | Some boundary -> - use ms = copyBodyToMemory(ctx.Request) - let reader = MultipartReader(boundary, ms) - let request = reader |> MultipartRequest.read |> Async.AwaitTask |> Async.RunSynchronously - let results = - request.Operations - |> List.map (fun op -> - let result = - match op.Variables with - | Some variables -> - let variables = parseVariables Schema.schema (parseVariableDefinitions op.Query) variables - Schema.executor.AsyncExecute(op.Query, variables = variables, data = root) - | None -> Schema.executor.AsyncExecute(op.Query, data = root) - result |> Async.RunSynchronously |> addRequestType "Multipart") - match results with - | [ result ] -> - return! okWithStr (json result) next ctx - | results -> - let result = JArray.FromObject(List.map json results).ToString() - return! okWithStr result next ctx + return! task { + use ms = copyBodyToMemory(ctx.Request) + let reader = MultipartReader(boundary, ms) + let! request = reader |> MultipartRequest.read ctx.RequestAborted + let results = + request.Operations + |> List.map (fun op -> + let result = + match op.Variables with + | Some variables -> + let variables = parseVariables Schema.schema (parseVariableDefinitions op.Query) variables + Schema.executor.AsyncExecute(op.Query, variables = variables, data = root) + | None -> Schema.executor.AsyncExecute(op.Query, data = root) + result |> Async.RunSynchronously |> addRequestType "Multipart") + match results with + | [ result ] -> + return! okWithStr (json result) next ctx + | results -> + let result = JArray.FromObject(List.map json results).ToString() + return! okWithStr result next ctx + } | None -> return! badRequest (text "Invalid multipart request header: missing boundary value.") next ctx else @@ -138,24 +140,23 @@ module HttpHandlers = | :? string as query -> Some (query, getVariables (parseVariableDefinitions query) data) | _ -> failwith "Failure deserializing repsonse. Could not read query - it is not stringified in request." else None) - match request with - | Some (query, Some variables) -> - printfn "Received query: %s" query - printfn "Received variables: %A" variables - let query = removeWhitespacesAndLineBreaks query - let result = Schema.executor.AsyncExecute(query, root, variables) |> Async.RunSynchronously |> addRequestType "Classic" - printfn "Result metadata: %A" result.Metadata - return! okWithStr (json result) next ctx - | Some (query, None) -> - printfn "Received query: %s" query - let query = removeWhitespacesAndLineBreaks query - let result = Schema.executor.AsyncExecute(query) |> Async.RunSynchronously |> addRequestType "Classic" - printfn "Result metadata: %A" result.Metadata - return! okWithStr (json result) next ctx - | None -> - let result = Schema.executor.AsyncExecute(Introspection.IntrospectionQuery) |> Async.RunSynchronously |> addRequestType "Classic" - printfn "Result metadata: %A" result.Metadata - return! okWithStr (json result) next ctx + let! result = task { + match request with + | Some (query, Some variables) -> + printfn "Received query: %s" query + printfn "Received variables: %A" variables + let query = removeWhitespacesAndLineBreaks query + return! Schema.executor.AsyncExecute(query, root, variables) + | Some (query, None) -> + printfn "Received query: %s" query + let query = removeWhitespacesAndLineBreaks query + return! Schema.executor.AsyncExecute(query) + | None -> + return! Schema.executor.AsyncExecute(Introspection.IntrospectionQuery) + } + let result = result |> addRequestType "Classic" + printfn "Result metadata: %A" result.Metadata + return! okWithStr (json result) next ctx } let webApp : HttpHandler = diff --git a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/MultipartRequest.fs b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/MultipartRequest.fs index 17d9ac787..d67c2a3d6 100644 --- a/tests/FSharp.Data.GraphQL.IntegrationTests.Server/MultipartRequest.fs +++ b/tests/FSharp.Data.GraphQL.IntegrationTests.Server/MultipartRequest.fs @@ -119,12 +119,12 @@ module MultipartRequest = | operations -> operations |> List.mapi (fun ix operation -> mapOperation (Some ix) operation) /// Reads a GraphQL multipart request from a MultipartReader. - let read (reader : MultipartReader) = - async { + let read cancellationToken (reader : MultipartReader) = + task { let mutable section : GraphQLMultipartSection option = None let readNextSection () = - async { - let! next = reader.ReadNextSectionAsync() |> Async.AwaitTask + task { + let! next = reader.ReadNextSectionAsync cancellationToken section <- GraphQLMultipartSection.FromSection(next) } let mutable operations : string = null @@ -134,7 +134,7 @@ module MultipartRequest = while not section.IsNone do match section.Value with | Form section -> - let! value = section.GetValueAsync() |> Async.AwaitTask + let! value = section.GetValueAsync() match section.Name with | "operations" -> operations <- value @@ -145,7 +145,7 @@ module MultipartRequest = | _ -> failwithf "Error reading multipart request. Unexpected section name \"%s\"." section.Name | File section -> let stream = new System.IO.MemoryStream(4096) - do! section.FileStream.CopyToAsync(stream) |> Async.AwaitTask + do! section.FileStream.CopyToAsync(stream, cancellationToken) |> Async.AwaitTask stream.Position <- 0L let value = { Name = section.FileName; ContentType = section.Section.ContentType; Content = stream } files.Add(section.Name, value) @@ -156,4 +156,4 @@ module MultipartRequest = | :? JObject as op -> [ op.ToObject(jsonSerializer) ] | _ -> failwith "Unexpected operations value." return { Operations = parseOperations operations map files } - } |> Async.StartAsTask \ No newline at end of file + } \ No newline at end of file