Open marcusnewton opened 5 years ago
Link tags (now called link types) and link tags are now handled differently as of #1453. Does this difficult to interpret error still occur?
@willemolding It's been awhile. I'd have to take some time to reproduce the issue. Gimme a sec
@willemolding I think the issue is that find_link_definition_in_dna()
has some pretty grainy error messages -- the same message for missing base entry, target entry, or link types. I've been trying to learn Rust and the nix-shell-based dev env so I can improve on the messaging, but I've been getting tangled up in the control flow in that function :D
For the
tag: S
argument in link_entries, if the tag you input doesn't exist for the entry type, the error returned is:Took me some time to figure out that I typed
article_from_keyword
for link_entries in a zome function when the tag specified in the zome entry was calledarticles_from_keyword