Comments (1)
Is multi-targeting a consideration? This would ensure that the tool works across multiple versions of .NET (6, 7, 8, 9+).
Today, your CLI project file targets .NET 6.0 explicitly:
data-api-builder/src/Cli/Cli.csproj
Line 5 in 6ce6fe5
I put together a sample repository (https://github.com/seesharprun/demo-dotnet-tool-multi-target) where I demonstrate multi-targeting .NET 6, 7, and 8 in a single NuGet package:
<TargetFramework>net8.0</TargetFramework>
<TargetFrameworks>net8.0;net7.0;net6.0;</TargetFrameworks>
Then, you can dotnet install
to any machine running any of those flavors of .NET.
Multi-targeting is referenced in the Create a .NET tool tutorial.
It's also going to become more important as the universal GitHub Codespaces devcontainer image evolves rapidly. .NET 9 support will be added later this year and .NET 8 support will be dropped quickly after .NET 10 is available per their policy on keeping only the LTS and stable variants of any developer SDK. You will also see such quick updates from tools like the Azure Cloud Shell. Multi-targeting might make it easier to temporarily support a new flavor of .NET while waiting for the larger rework project.
from data-api-builder.
Related Issues (20)
- [Bug]: GraphQL filtering by relation property causes `Incorrect database name ''` HOT 2
- [Bug]: GraphQL type doesn't match any entity name or singular type in the runtime config. HOT 2
- Support multiple create mutation for self-referencing relationships.
- DataApiBuilderException: Cannot obtain Schema for entity with underlying database object source: due to: Connection Timeout Expired. HOT 1
- Container image does not deploy to an ACA environment (v0.11.127) HOT 9
- [Bug]: ./azure-container-apps-deploy.sh is broken. HOT 2
- GraphQL Query failure when mappings exist for relationship fields HOT 1
- [Bug]: GraphQL Query failure when mappings exist for relationship fields
- Add docs for Whats new in 0.11 HOT 2
- Expose Header Information in App Console Logs
- [Bug]: nextLink is broken when hosted on Static Web App
- Docker Hub - publisher - Trusted Content HOT 3
- [Bug]: Multiple REST API requests fail when "set-session-context": true HOT 1
- [Bug]: New relationship validations causing unexpected exception being thrown HOT 1
- [Bug]: Validating entity relationships throws unhandled exception HOT 7
- Use DI to create MultipleMutationInputValidator instance
- Add test to validate exception on multiple-create for related entities backed by same database table HOT 2
- [Bug]: Int fields are stored as string in cosmosdb HOT 3
- Failure of read database policy for related entity in multiple create for N:1 and 1:1 relationships returns error HOT 1
- [Bug]: CLI validate Schema error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from data-api-builder.