-
Notifications
You must be signed in to change notification settings - Fork 6
feat: Create automatically a thread on discord when creating a reposi… #66
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
base: develop
Are you sure you want to change the base?
Conversation
…to-discord # Conflicts: # app/Models/Repository.php
| public function execute( | ||
| string $name, | ||
| ChannelType $channelType = ChannelType::TEXT, | ||
| ?string $parentId = null |
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.
What is your opinion on union types?
I think its more readable and clear using it, like null|string
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.
for null its ok to use "?"
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.
string|int|null ok
bcuz ?string|int not readable and may not work
This reverts commit 2f45789.
feat: Create automatically a thread on discord when creating a repository.