hello - any thoughts on the question above ^?
# general
q
hello - any thoughts on the question above ^?
b
Hey @quaint-queen-45003, what seems to be up?
Oh i've jsut read...
the id's are broken somewhere
q
hey paul - thanks for the help!
ya - seems like something wonky is going on with the IDs
b
ok, can you do me a favour and please open an issue and tag me in it
something is definitely wonky here...
q
sure will do
b
thank you!
also, great find here
sorry about this
q
no worries and thank you for the help!
let me know if you need anything else from me 🙂
b
thank you!!
q
@broad-dog-22463 would you happen to have an ETA on this by chance? we're about to create a bunch of clusters and this would prevent us from having to go and edit a bunch of clusters
b
@quaint-queen-45003 we are trying to work out why our generator believes that it should be an int and not a string in the same way it was created
q
alrighty, thanks for the update!
Hey @broad-dog-22463, do you know of a workaround that we can put in place for now?
b
@quaint-queen-45003 you can run this:
Copy code
const fooAlertPolicyChannel = new newrelic.AlertPolicyChannel("foo", {
    channelId: fooAlertChannel.id.apply(id => parseInt(id)),
    policyId: fooAlertPolicy.id.apply(id => parseInt(id)),
});
I just tested this and it works
q
perfect, i'll give it a go. thanks a bunch!
b
no worries, apologies for the problems here
@quaint-queen-45003 did it work for you?
q
haven't gotten to try quite yet. i'll have time in the afternoon to try it out
i'll let you know
just gave it a shot and it looks like it works. thanks again!
b
👍 perfect
thanks