Skip to content

Commit 66825be

Browse files
committed
Update weather projection
1 parent b35e09b commit 66825be

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

projections/weather/lib/weather/schema.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ module Schema
8484
end)
8585
end
8686

87-
TYPE_REGISTRY = Smithy::Schema::TypeRegistry.new
88-
TYPE_REGISTRY.register(CityCoordinates, CitySummary, GetCityInput, GetCityOutput, GetCurrentTimeOutput, GetForecastInput, GetForecastOutput, ListCitiesInput, ListCitiesOutput, NoSuchResource)
87+
TYPE_REGISTRY = Smithy::Schema::TypeRegistry.new('example.weather#CityCoordinates' => CityCoordinates, 'example.weather#CitySummary' => CitySummary, 'example.weather#GetCityInput' => GetCityInput, 'example.weather#GetCityOutput' => GetCityOutput, 'example.weather#GetCurrentTimeOutput' => GetCurrentTimeOutput, 'example.weather#GetForecastInput' => GetForecastInput, 'example.weather#GetForecastOutput' => GetForecastOutput, 'example.weather#ListCitiesInput' => ListCitiesInput, 'example.weather#ListCitiesOutput' => ListCitiesOutput, 'example.weather#NoSuchResource' => NoSuchResource)
8988
end
9089
end

0 commit comments

Comments
 (0)