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

Add binary txt option. #10

Merged
merged 3 commits into from
May 6, 2016
Merged

Add binary txt option. #10

merged 3 commits into from
May 6, 2016

Conversation

kkushimoto
Copy link
Contributor

No description provided.

@watson
Copy link
Owner

watson commented Mar 27, 2016

@kkushimoto Thanks for PR 😃

Just a quick question: I'm really curious of your use case with binary TXT records. Do you mind sharing it?

} else {
this._name = serviceName.stringify(opts.type, opts.protocol || 'tcp') + TLD
if (opts.name) this._name = opts.name + '.' + this._name
this._wildcard = false
if (!opts.txt || !opts.txt.binary) {
Copy link
Owner

Choose a reason for hiding this comment

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

In case the txt property is given, why not just pass it into the dnsTxt constructor as it is?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Precisely!

@kkushimoto
Copy link
Contributor Author

Thank you for reviewing my PR.

I'm really curious of your use case with binary TXT records.

I want to find a service that publish binary value txt.

I'm not good at English 😓

@watson watson merged commit 8293e61 into watson:master May 6, 2016
watson added a commit that referenced this pull request May 6, 2016
watson added a commit that referenced this pull request May 6, 2016
@watson
Copy link
Owner

watson commented May 6, 2016

@kkushimoto Ups, didn't see your response before now. I've merged your pull request and it's now published as v3.4.0 on npm

@kkushimoto
Copy link
Contributor Author

Thank you so much!

@kkushimoto kkushimoto deleted the add-binary-txt branch May 10, 2016 01:06
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.

None yet

2 participants