Skip to content
#

web-framework

Here are 549 public repositories matching this topic...

sanic
eric-spitler
eric-spitler commented Oct 25, 2018

Describe the bug
The default port for a Sanic app is 8000, which by HTTP standards is a custom port. This port can also be set during calls to app.run().

When using app.url_for('handler.name', _external=True), the resultant URL does not contain the port without manual intervention.

This line is the final step before the application returns the URL. The URL is build using `urlunp

Follpvosten
Follpvosten commented Dec 3, 2019

Description

I'm submitting a feature request (I intend to work on this myself if I can find the time).

While Option<Callback> works as expected (the prop takes a closure and defaults to None), that doesn't really apply to other Option<T> properties, leading to a small amount of boilerplate (which might accumulate quickly).

For example: If I have a property of type `Option<S

malaire
malaire commented Nov 24, 2019

The documentation of FromDataSimple doesn't mention that it's only for debugging. This is only mentioned at documentation of FromData.

Based on several closed issued about this and recent message at #beginners, this causes enough confusion that documentation of FromDataSimple should also mention this.

orafaelfragoso
orafaelfragoso commented Apr 18, 2017

Issue Description

I would love to see (or write) a guide on how to migrate a WIP project from SailsJS (since it's based on that) to TrailsJS. If possible.

Environment

  • node version: 6.X
  • trails version: latest
  • operating system: Ubuntu 16.04 64 bits
jwoertink
jwoertink commented Oct 14, 2019

When running your app through lucky dev, there's no way to pass --error-trace currently. We need a way to proxy that down to this command.

We could have lucky dev --error-trace or maybe you just edit your Procfile.dev (which would probably need to happen anyway), and update lucky watch --error-trace.

Improve this page

Add a description, image, and links to the web-framework topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the web-framework topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.