Giter Club home page Giter Club logo

Comments (8)

minwoox avatar minwoox commented on June 23, 2024

Thanks for the report. Let me take a look it soon.

from centraldogma-go.

wingyplus avatar wingyplus commented on June 23, 2024

I capturing response body that come from centraldogma service (run via docker):

{"revision":2,"path":"/samples/a.json","type":"JSON","content":"b","url":"/api/v1/projects/projFoo/repos/repoA/contents/samples/a.json"}

The content return "b". If we want to return "b" as tutorial mentioned, content must be "\"b\"".

Is it bug on centraldogma service?

from centraldogma-go.

wingyplus avatar wingyplus commented on June 23, 2024

I read test code from https://github.com/line/centraldogma/blob/master/server/src/test/java/com/linecorp/centraldogma/server/internal/api/ContentServiceV1Test.java#L276. Looks like it's intention.

from centraldogma-go.

wingyplus avatar wingyplus commented on June 23, 2024

@minwoox Is it possible that UnmarshalJSON strip " out of content by using json.Unmarshal?

ref: https://github.com/line/centraldogma-go/blob/master/content_service.go#L88

from centraldogma-go.

minwoox avatar minwoox commented on June 23, 2024

@wingyplus Sorry about the late response. Was on a business trip and couldn't take care of this issue.
Let me just reproduce it. Thanks!
BTW, are you using Central Dogma?

from centraldogma-go.

wingyplus avatar wingyplus commented on June 23, 2024

@minwoox Sorry for disturbing you. I see it using inside LINE Man Team (but another team not my team). And I interesting to use it in my personal project. :)

from centraldogma-go.

minwoox avatar minwoox commented on June 23, 2024

@wingyplus Ah that's cool! If you want to talk directly, you can use the company slack #help_centraldogma. :-)

from centraldogma-go.

wingyplus avatar wingyplus commented on June 23, 2024

@minwoox Thanks for your guide. :D

from centraldogma-go.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.