Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove odata service inquirer dependency from launch config #2338

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

kjose90
Copy link
Member

@kjose90 kjose90 commented Sep 9, 2024

Copy link

changeset-bot bot commented Sep 9, 2024

🦋 Changeset detected

Latest commit: c02e5b4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sap-ux/launch-config Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

sonarcloud bot commented Sep 10, 2024

@kjose90 kjose90 marked this pull request as ready for review September 10, 2024 07:36
metadataFile = 'metadataFile'
}

export enum OdataVersion {
Copy link
Contributor

@IainSAP IainSAP Sep 10, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use a type from a common module. Maybe project access? OdataVersion is already imported here we can use that instead:

oDataVersion?: ODataVersion;

Copy link
Contributor

@IainSAP IainSAP left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please see comments.

@@ -60,6 +59,17 @@ export interface LaunchConfigInfo {
filePath: string;
}

export enum DatasourceType {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please consider renaming this to something specific to launch config as it could be confused with the odata-service-inquirer datasource type which is a different concept. I'd suggest something like:

type startScriptType = 'cds' | 'mockServer'

I cant find any reference to 'odataServiceUrl' so I guess its not needed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants