-
Notifications
You must be signed in to change notification settings - Fork 25
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
chore(node): removing our dependency on oas
#1054
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah i just confirmed that getGroupIdByOperation
isn't being used anywhere — i say we get rid of it and uninstall oas
🚮
@mjcuva any context on this?
I think this was added by @jamestclark! Here's the comments from the initial pr when this was added: https://github.com/readmeio/metrics-sdks/pull/879/files#r1454075743 |
ah thanks! re: this comment:
my general take is that because the |
## 🧰 Changes Noticed a bunch of type errors when running `npx tsc -p test/` from the `packages/node` directory. Not sure if we should do this typechecking in CI? ## 🧬 QA & Testing Do you notice any errors when running `npx tsc -p test/` from the `packages/node` directory?
kind of agree that we should only keep things that will be used in the sdk within the sdk. i'm going to pull |
oas
to the latest releaseoas
🧰 Changes
I don't totally understand why we're loadingoas
in for types on thegetGroupIdByOperation
method that by all accounts seems to be unused, but because the version ofoas
we are using is pretty old I'm upgrading it.Because
oas
is currently being used solely forgetGroupIdByOperation
, a method that is not being used anywhere, I am removinggetGroupIdByOperation
and ouroas
dependency.