Added URL to component and field type mismatch error messages#1184
Added URL to component and field type mismatch error messages#1184
Conversation
|
Rather than give a list of all types (very long, dynamic), I put a link in the error message to the relevant section in the book (shorter, static, but might change). Is that something we're avoiding doing for some reason? The intended (untested) error message would look like this: |
|
Looks good to me, but we might want to use https://ambient.run/docs/reference/package instead. However... that might be out of date (it's not updated automatically with the repo - but we probably want versioning instead), and more annoyingly, it doesn't have anchors (https://github.com/AmbientRun/Web/issues/47). @FredrikNoren Have we decided where the docs should live? If it's |
|
Ok, thought about it some more, we should use EDIT: Okay I just actually tested that link and the anchor routing is broken 🤦 Let me see... EDIT2: Yeah no idea, I think the anchor's being stripped off by the routing or something |
|
Oops, I missed your edit. I made an issue for it, haha. #1191 |
My attempt to resolve #1183
I haven't successfully built Ambient from this, I tried and it took a super long time... but I do expect it to work. The change is very small.