Skip to content
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

feat(kno-5440): add slack functions #60

Merged
merged 1 commit into from
Mar 5, 2024
Merged

feat(kno-5440): add slack functions #60

merged 1 commit into from
Mar 5, 2024

Conversation

meryldakin
Copy link
Contributor

@meryldakin meryldakin commented Mar 5, 2024

Adds slack functions and also extends our url builder to work with nested objects, which we need for one of the functions in here.

Copy link

linear bot commented Mar 5, 2024

@meryldakin meryldakin marked this pull request as ready for review March 5, 2024 15:34
Comment on lines +97 to +101
typeof value === "object" &&
value !== null &&
!(value instanceof Date) &&
!(value instanceof Array)
) {
Copy link
Member

Choose a reason for hiding this comment

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

I'm sure this is needed just curious what this thorough of a check is doing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh this is just making sure this is only processing plain objects ({}) - is there a better way to do that?

@meryldakin meryldakin requested a review from cjbell March 5, 2024 19:43
@meryldakin meryldakin merged commit 0712c1b into main Mar 5, 2024
1 check passed
@meryldakin meryldakin deleted the md-kno-5440 branch March 5, 2024 20:24
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