Skip to content
#

json-api

json logo

JSON (JavaScript Object Notation) is a standard file format that uses text to communicate data objects to array data types. This notation makes it easy for applications to parse and generate files. JSON grew out of the need to have a real-time server-to-web browser communication.

Here are 2,936 public repositories matching this topic...

jokiefer
jokiefer commented Feb 15, 2022

Description of the Bug Report

SparseFieldsetsMixin does not adjust field_names by configured format.

Fix:

class SparseFieldsetsMixin:
    """
    A serializer mixin that adds support for sparse fieldsets through `fields` query parameter.

    Specification: https://jsonapi.org/format/#fetching-sparse-fieldsets
    """

    def __init__(self, *args, **kwargs):
  
bug good first issue
dk-lockdown
dk-lockdown commented Apr 26, 2020

If you r going to wait response,or block the goroutine in a getty session(tcp conection), task pool can not be null。

func (s *Server) newSession(session getty.Session) error {
	var (
		ok      bool
		tcpConn *net.TCPConn
	)
	
	// 省略部分代码...
	session.SetTaskPool(srvGrpool)
	return nil
}

ortherwise,handleTcpPackage() will blocked,led to the response missing

func (s *session

Created by Douglas Crockford

Released 2005

Website
www.json.org
Wikipedia
Wikipedia