github.com/jgaskins/crystal_live_view_example
master / published Apr 24, 2019 / repository
Proof of concept for a Crystal version of Phoenix Live View
Documentation could not be built
Build failed
The documentation build for this version ran and did not produce anything usable. That is usually a shard that does not compile against the Crystal version it declared.
What the builder reported
docs-build: crystal docs exited 62
crystal docs said:
no-egress: verified in-process as uid 1000, ip and vsock sockets denied, io_uring denied, no_new_privs set
Crystal built without LibXML2 support, HTML sanitization will be skipped
Showing last frame. Use --error-trace for full trace.
There was a problem expanding macro 'delegate'
Code in src/route.cr:160:5
160 | delegate headers, read, write, :status_code=, to: @response
^
Called macro defined in /usr/share/crystal/src/object.cr:553:3
553 | macro delegate(*methods, to object)
Which expanded to:
27 |
28 |
> 29 | def write(*args, **options)
^----
Error: this method overrides IO#write(slice : Bytes) which has an explicit return type of Nil.
[33;1mPlease add an explicit return type (Nil or a subtype of it) to this method as well.[39;22m