Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • May 27 11:54
    m1n0 opened #39
  • Feb 21 2018 23:03
    mumia opened #38
  • Jan 04 2018 13:50
    OndraM edited #37
  • Jan 04 2018 13:50
    OndraM opened #37
  • Dec 14 2017 19:55
    babaorum opened #36
  • Oct 25 2017 14:31
    nilportugues closed #31
  • Oct 25 2017 11:41
    m1n0 commented #31
  • Aug 25 2017 12:45
    c0urg3tt3 commented #3
  • Jul 31 2017 09:45

    nilportugues on 2.1.0

    (compare)

  • Jul 31 2017 09:44

    nilportugues on master

    Fix resourceNotFoundResponse mi… Merge branch 'configurable-attr… Merge pull request #25 from m1n… (compare)

  • Jul 31 2017 09:44
    nilportugues closed #25
  • Jul 31 2017 09:43

    nilportugues on master

    Make attributes case configurab… Merge pull request #32 from m1n… (compare)

  • Jul 31 2017 09:43
    nilportugues closed #32
  • Jul 27 2017 12:03
    trivago-makbarof commented #17
  • Jul 27 2017 12:02
    linkcotech commented #17
  • Jul 27 2017 12:02
    linkcotech commented #17
  • Jun 05 2017 15:33
    regniblod commented #35
  • Jun 05 2017 13:01
    regniblod opened #35
  • Apr 27 2017 23:22
    The-Don-Himself closed #24
  • Apr 27 2017 23:22
    The-Don-Himself commented #24
Josh Taylor
@joshuataylor
Howdy, I'm getting 500's, without any log entry. It seems to happen on $serializer->serialize($someEntity);
Josh Taylor
@joshuataylor
ah, it's a nesting issue :)
is it possible to only serialize certain fields in my entity?
Bezditnyi Taras
@vertexod

Hi guys...) One question, I'm using UUID as Id, and have an error:
So, have simple mapping:

mapping:
  class: Acme\AppBundle\Entity\Person
  alias: Person
  aliased_properties:
    firstName: firstName
    lastName: lastName
  hide_properties: []
  id_properties:
    - id
  urls:
    self: persons_view # @Route name

and in controller trying to get one record

  /**
    * @param Request $request
     * @param string $id UUID
     *
     * @CF\Route("/{id}", name="persons_view", requirements={"id":"[a-z0-9-]+"})
     * @CF\Method("GET")
     */
    public function viewAction(Request $request, $id)
    {
        $person = $this->personRepository->find($id);

        $serializer = $this->get("nil_portugues.serializer.json_api_serializer");
        // after this line all down )) with error: `Parameter "id" for route "persons_view" must match "[a-z0-9-]+" ("{id}" given) to generate a corresponding URL.`
   }

If I remove jsonapi serializer, all good.

Mathias STRASSER
@roukmoute
Hi
Sebastiaan van Parijs
@svparijs
Hi there, anybody around?
I see this package cover the presentation layer, but not the Creation Updating and Deletion parts. Is this not implemented or just missing in the docs?
Sebastiaan van Parijs
@svparijs
@svparijs It does my bad.
Romain GRELET
@babaorum
Hi, I am trying to integrate this bundle.
I am starting by the response part. So far, I manage to do it. Now I would like to connect it with my swagger using NelmioApiDocBundle. But I do not see an example of my response or anything of the sort. Is this handle at all by the bundle ?