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

More consistent typing for Attachments #2

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sakgoyal
Copy link

@sakgoyal sakgoyal commented Jan 3, 2024

makes sure you don't accidentally mix types for URL and embedded attachments by removing the ? in the keys

@scsmith
Copy link
Contributor

scsmith commented Jan 4, 2024

Hey @sakgoyal Although I agree in theory with this pull request the original content is actually partially generated from the API documentation. I think we need to discuss whether we'd be happy diverging here. Give us a little while to discuss things.

@sakgoyal
Copy link
Author

sakgoyal commented Jan 5, 2024

I have a way to make this work, but its not clean. you can keep your existing process, but add these changes to a different branch. then anytime there is an update, just merge these changes onto main if that makes sense

or you could see if there is a way to add a post-processing step (or even a git pre commit hook lol) after generating from the api docs. I think its pretty important to have this change in the library.

But you guys may have different views. I understand if this isnt something you want to change in your processes. (also, this package hasnt been updated in 3 years so will this PR even disrupt that much?)

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