-
Notifications
You must be signed in to change notification settings - Fork 13
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 DependenciesFromService #393
Labels
Milestone
Comments
This 'weird' function and struct that it returns is not just a sorted version of the map. |
ilgooz
added a commit
that referenced
this issue
Sep 1, 2018
…improvements * make Service type Newable. * add ServiceDefinition type to service/importer. * rm unneeded fields in service.proto in interface/grpc/core. * rm unneeded service.DependenciesFromService(), closes #393. * rm unneeded TestDependenciesFromService test in service/. * cleanup service package.
ilgooz
added a commit
that referenced
this issue
Sep 3, 2018
* use slices instead maps on service.proto. * add ServiceDefinition type to service/importer. * rm unneeded fields in service.proto in interface/grpc/core. * rm unneeded service.DependenciesFromService(), closes #393. * rm unneeded TestDependenciesFromService test in service/. * rm unneeded TestSaveReturningHash test in database/services. * rm unneeded TestInjectConfigurationInDependencies test in api/, TestNew test in service/ covers it. * move TestInjectConfigurationInDependenciesWithConfig test as TestInjectDefinitionWithConfig from api/ to service/. * move TestInjectConfigurationInDependenciesWithDependency test as TestInjectDefinitionWithDependency from api/ to service/. * rm unneeded TestInjectConfigurationInDependenciesWithDependencyOverride test in api/. * use getters in service package for other needed places. * rm unnecessary nil checks. * cleanup service package. * minor improvements.
ilgooz
added a commit
that referenced
this issue
Sep 3, 2018
* use slices instead maps on Service type, closes #394. * use slices instead maps on service.proto. * add ServiceDefinition type to service/importer. * rm unneeded fields in service.proto in interface/grpc/core. * rm unneeded service.DependenciesFromService(), closes #393. * rm unneeded TestDependenciesFromService test in service/. * rm unneeded TestSaveReturningHash test in database/services. * rm unneeded TestInjectConfigurationInDependencies test in api/, TestNew test in service/ covers it. * move TestInjectConfigurationInDependenciesWithConfig test as TestInjectDefinitionWithConfig from api/ to service/. * move TestInjectConfigurationInDependenciesWithDependency test as TestInjectDefinitionWithDependency from api/ to service/. * rm unneeded TestInjectConfigurationInDependenciesWithDependencyOverride test in api/. * use getters in service package for other needed places. * rm unnecessary nil checks. * cleanup service package. * minor improvements.
ilgooz
added a commit
that referenced
this issue
Sep 4, 2018
* use slices instead maps on Service type, closes #394. * use slices instead maps on service.proto. * add ServiceDefinition type to service/importer. * rm unneeded fields in service.proto in interface/grpc/core. * rm unneeded service.DependenciesFromService(), closes #393. * rm unneeded TestDependenciesFromService test in service/. * rm unneeded TestSaveReturningHash test in database/services. * rm unneeded TestInjectConfigurationInDependencies test in api/, TestNew test in service/ covers it. * move TestInjectConfigurationInDependenciesWithConfig test as TestInjectDefinitionWithConfig from api/ to service/. * move TestInjectConfigurationInDependenciesWithDependency test as TestInjectDefinitionWithDependency from api/ to service/. * rm unneeded TestInjectConfigurationInDependenciesWithDependencyOverride test in api/. * use getters in service package for other needed places. * rm unnecessary nil checks. * cleanup service package. * minor improvements.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/mesg-foundation/core/blob/5b52201/service/dependency.go#L15 remove this method if there is no logic depends on sorted keys.
consider using reflect.DeepEqual to compare maps in tests
The text was updated successfully, but these errors were encountered: