Skip to content

Conversation

@bhufmann
Copy link
Contributor

@bhufmann bhufmann commented Nov 8, 2024

In the OutputConfigurationQuery the configuration source type id was called typeId and it creates a Configuration object where the same field is called sourceTypeId for the same field. When serializing the Configuration in the derived DataProviderDescriptor over TSP the field is called sourceTypeId and this is not consistent. The returned Configuration should have the exact field names that are used when creating the data provider and the respective configuration.

The Configuration is already API while OutputConfigurationQuery is not, and it's better to change the name there.

Signed-off-by: Bernd Hufmann [email protected]

* @param typeId The ID of the configuration source type
* @param parameters Object used to send parameters to the server
*/
constructor(name: string, description: string | undefined, typeId: string, parameters: Object) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be sourceTypeId? Also double spaces.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

In the OutputConfigurationQuery the configuration source type id was
called typeId and it creates a Configuration object where the same field
is called sourceTypeId for the same field. When serializing the
Configuration in the derived DataProviderDescriptor over TSP the field
is called sourceTypeId and this is not consistent. The returned
Configuration should have the exact field names that are used when
creating the data provider and the respective configuration.

The Configuration is already API while OutputConfigurationQuery is not,
and it's better to change the name there.

Signed-off-by: Bernd Hufmann <[email protected]>
@bhufmann bhufmann force-pushed the rename-to-sourceTypeId branch from 86da09b to 7ad4422 Compare November 11, 2024 14:47
@bhufmann bhufmann merged commit 002fc2d into eclipse-cdt-cloud:master Nov 11, 2024
@bhufmann bhufmann deleted the rename-to-sourceTypeId branch November 11, 2024 16:46
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