Skip to content
#

web-framework

Here are 613 public repositories matching this topic...

angular
ghost
ghost commented Sep 18, 2019

Issue Description

I updated echo in one of my projects. After that my static configuration didn't work without changes. Before it automatically resolved to an existing index.html. After that I had to point to that file.

My code was something like that:

docsGroup := e.Group("")
docsGroup.Static("/", "docs")

In docs is an index.html which was delivered when no path was given

sanic
renatocaval
renatocaval commented Apr 24, 2020

In #10199 we added symbolic methods to TypeMap, but as signaled by @NthPortal we should avoid this.

Triggered by:

I'm a bit late to the party here, but multiple (non-implicit) parameters to a symbolic/infix method are highly discouraged, and planned to be deprecated. See scala/scala-dev#496 and lampepfl/dotty#4311 (comment).

_Originally posted by @n

rubyFeedback
rubyFeedback commented Nov 14, 2019

Whenever I try to install the sinatra gem, the first install hangs during:

"Installing ri documentation for sinatra-2.0.7"

I manually interrupt it, then do it again, and then it works.

I have no idea what causes it, but all the other gems and their ri
documentation do not have this issue.

I believe that there must be something special for sinatra documentation
done that causes this b

zohaad
zohaad commented Apr 14, 2020

I tried to find this in the documentation and examples, but there's no example of a manual request being made, only <form action="/login" method="post">

I tried:

let form = this.document.getElementById( 'loginForm' );
var formData = new FormData( form );
let res = await fetch( '/', {
    method: 'POST',
    body: formData,
    header: { 'Content-Type': 'multipart/form-data' },
})
ktor
eMZet-zz
eMZet-zz commented Feb 6, 2020

Subsystem
Kotlin multiplatform library: ktor-client-logging:1.3.0

Is your feature request related to a problem? Please describe.
Problem: not able to filter calls to be logged. All calls are being logged by default.

Describe the solution you'd like
Add a filter option in Logging configuration block (this solution is available on Android in CallLogging feature, but it is absent

A1Liu
A1Liu commented Mar 8, 2020

Describe the feature
I'd like to be able to document multiple different APIs separately in the same Javalin application. I.e. have 3 handlers go to doc A, and have another 3 handlers go to doc B.

Additional context
The purpose of this feature request is API versioning; I'd like to version my API, and have separate docs for each version.

animamundi
animamundi commented Aug 29, 2017
import {Middleware, ExpressErrorMiddlewareInterface} from "routing-controllers";

@Middleware({ type: "after" })
export class CustomErrorHandler implements ExpressErrorMiddlewareInterface {

    error(error: any, request: any, response: any, next: (err: any) => any) {
        console.log("do something...");
        next();
    }

}

This example code from the docume

DrHyde
DrHyde commented Jan 10, 2020
  • Mojolicious version: 8.29
  • Perl version: 5.26.1
  • Operating system: High Sierra

When testing a JSON value like { "fruit": "lemon" } with ...->json_is('/animal', 'bat') we correctly get a failure, but the diagnostic message complains that undef doesn't equal 'bat' which isn't quite right. The value isn't even undef, it doesn't exist. Same applies to json_like.

danikp
danikp commented Sep 23, 2015

Currently we have 3 (three!!!!) places for documentation:

  1. wiki
  2. READMEs
  3. API docs (produced from doc-src)
    my proposal is to move everything to wiki. It will be pretty easy for READMEs as they written with markdown too. moving API docs will require much more work, but CB API is not so complicated and everything generated from code can be written once in markdown and changed on demand.

cos a

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

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.