Skip to content

Comments

Add service pkg and deprecate micro pkg#1466

Open
bruth wants to merge 3 commits intomainfrom
service-pkg
Open

Add service pkg and deprecate micro pkg#1466
bruth wants to merge 3 commits intomainfrom
service-pkg

Conversation

@bruth
Copy link
Member

@bruth bruth commented Nov 10, 2023

Summary of changes:

  • New service package
  • Type aliases and wrapped functions retained in micro package including a test to confirm
  • Add service.New in favor of service.AddService to remove naming stutter

The micro package type aliases everything from the service package
for backwards compatibility, but is now deprecated.

The micro/test package is there to assert the micro-imported tests
work as expected.

Signed-off-by: Byron Ruth <byron@nats.io>
service.AddService is now deprecated.

Signed-off-by: Byron Ruth <byron@nats.io>
Signed-off-by: Byron Ruth <byron@nats.io>
@bruth
Copy link
Member Author

bruth commented Nov 10, 2023

Test failures so far are unrelated to this change..

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.

1 participant