microsoft / microsoft/DacFx

Add SchemaCompareEndpoint for DacPackage object as parameter

Open
#226 0 comments 0 reactions 0 assignees View on GitHub
backlog enhancement triaged
Dominant language
C#
Stars
460
Forks
29
Avg merge
4d 9h
Merged PRs (30d)
7

Description

**Is your feature request related to a problem? Please describe.**
I develop a PowerShell module, that provides commands, based on DacFx. It's https://github.com/abbgrade/PsDac.
I'd like to provide a command for schema comparison. Additionally I want only a single method each to load dacpacs, databases and projects and a single method to connect and authenticate to servers.

**Describe the solution you'd like**
A additional implementation of SchemaCompareEndpoint that accepts DacPackage objects.

**Describe alternatives you've considered**
Currently a schema compare requires a connect to the server, an import of a DacPackage, an export to DacPac file and then a compare based on the DacPac. That works but is inefficient and requires a temporary storage.

Contributor guide

Open the contributing guide

Research direction

Start by locating the SchemaCompareEndpoint implementation and the DacPackage type, then review how schema comparison currently accepts server connections and exported DACPAC files. Define the API behavior for accepting a DacPackage directly and verify that comparison no longer requires exporting to temporary storage.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, sql
Domain
api, database
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.