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

Custom inbox prefix #322

Merged
merged 4 commits into from
Nov 11, 2019
Merged

Custom inbox prefix #322

merged 4 commits into from
Nov 11, 2019

Conversation

danielwertheim
Copy link
Collaborator

Adds support for custom inbox prefix to solve #237

@danielwertheim
Copy link
Collaborator Author

After discussion I reverted from functional generators to simple string prefix.

Not sure if you think there should be validation when assigning the value? Are there any specific rules that should be enforced then?

Will complement with test.

@danielwertheim danielwertheim self-assigned this Nov 8, 2019
@ColinSullivan1
Copy link
Member

Good point on validation.... You can validate with Subscription.IsValidSubject(string subject)

@danielwertheim
Copy link
Collaborator Author

@ColinSullivan1 Validation added. Still lacks one or two integration tests.

Issues
  - Validation is not the same as subject
  - Options did not copy value in constructor
@danielwertheim
Copy link
Collaborator Author

danielwertheim commented Nov 11, 2019

@ColinSullivan1 @watfordgnf I changed the validation as I do believe it can not be exactly as subjects. Might be wrong. Also added integration test which also found an issue. I've nothing else planned for this PR.

Copy link
Member

@ColinSullivan1 ColinSullivan1 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

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